Configure Cluster Properties

Cluster configuration properties are set to their default values and automatically replicated across all brokers.

You can use cluster properties to enable and manage features such as Iceberg topics, data transforms, and audit logging.

For a complete list of the cluster properties available in Redpanda Cloud, see Cluster Configuration Properties and Object Storage Properties.

Some properties are read-only and cannot be changed. For example, cluster_id is a read-only property that is automatically set when the cluster is created.

Limitations

Cluster properties are supported on BYOC and Dedicated clusters running on AWS and GCP.

  • They are not available on BYOC and Dedicated clusters running on Azure.

  • They are not available on Serverless clusters.

Set cluster configuration properties

You can set cluster configuration properties using the rpk command-line tool or the Cloud API.

  • rpk

  • Cloud API

Use rpk cluster config to set cluster properties.

For example, to enable data transforms, set data_transforms_enabled to true:

rpk cluster config set data_transforms_enabled true
Some properties require a rolling restart, and it can take several minutes for the update to complete. The rpk cluster config set command returns the operation ID.

Use the Cloud API to set cluster properties:

  • Create a cluster by making a POST /v1/clusters request. Edit cluster_configuration in the request body with a key-value pair for custom_properties.

  • Update a cluster by making a PATCH /v1/clusters/{cluster.id} request, passing the cluster ID as a parameter. Include the properties to update in the request body.

For example, to set data_transforms_enabled to true:

# Store your cluster ID in a variable.
export RP_CLUSTER_ID=<cluster-id>

# Retrieve a Redpanda Cloud access token.
export RP_CLOUD_TOKEN=`curl -X POST "https://auth.prd.cloud.redpanda.com/oauth/token" \
    -H "content-type: application/x-www-form-urlencoded" \
    -d "grant_type=client_credentials" \
    -d "client_id=<client-id>" \
    -d "client_secret=<client-secret>"`

# Update your cluster configuration to enable data transforms.
curl -H "Authorization: Bearer ${RP_CLOUD_TOKEN}" -X PATCH \
  "https://api.cloud.redpanda.com/v1/clusters/${RP_CLUSTER_ID}" \
 -H 'accept: application/json'\
 -H 'content-type: application/json' \
 -d '{"cluster_configuration":{"custom_properties": {"data_transforms_enabled":true}}}'

The PATCH /clusters/{cluster.id} request returns the ID of a long-running operation. You can check the status of the operation by polling the GET /operations/{id} endpoint.

Some properties require a rolling restart for the update to take effect. This triggers a long-running operation that can take several minutes to complete.

View cluster property values

You can see the value of a cluster configuration property using rpk or the Cloud API.

  • rpk

  • Cloud API

Use rpk cluster config get to view the current cluster property value.

For example, to view the current value of data_transforms_enabled, run:

rpk cluster config get data_transforms_enabled

Use the Cloud API to get the current configuration property values for a cluster.

Make a GET /clusters/{cluster.id} request, passing the cluster ID as a parameter. The response body contains the current computed_properties values. For example, to get the current value of data_transforms_enabled:

# Store your cluster ID in a variable.
export RP_CLUSTER_ID=<cluster-id>

# Retrieve a Redpanda Cloud access token.
export RP_CLOUD_TOKEN=`curl -X POST "https://auth.prd.cloud.redpanda.com/oauth/token" \
    -H "content-type: application/x-www-form-urlencoded" \
    -d "grant_type=client_credentials" \
    -d "client_id=<client-id>" \
    -d "client_secret=<client-secret>"`

# Get your cluster configuration property values.
curl -H "Authorization: Bearer ${RP_CLOUD_TOKEN}" -X GET \
  "https://api.cloud.redpanda.com/v1/clusters/${RP_CLUSTER_ID}" \
 -H 'accept: application/json'\
 -H 'content-type: application/json' \