UpdateConfiguration
Update the configuration of a specific Virtual Cluster by ID.
Configuration Options
are_acls_enabled
Whether the cluster will enforce Kafka ACLs. Enabling this will block all traffic in the cluster if no specific ACLs are configured first.
default_num_partitions
Default number of partitions for topics that are created automatically using Kafka's topic auto-creation feature.
default_retention_millis
Default retention for topics that are created automatically using Kafka's topic auto-creation feature.
is_auto_create_topic_enabled
Whether Kafka's topic auto-creation feature is enabled.
Payload Example
virtual_cluster_id
is always required, but every field in virtual_cluster_configuration
is optional. The JSON below shows all possible values that can be modified:
However, if you only wanted to change a single value like default_retention_millis
, then you could construct the request like this:
Which would modify the value of default_retention_millis
, but leave all other configuration unchanged.
Example Request
When you select specific configuration fields for updating, only those chosen will be altered. All other fields will remain unchanged.
Response
Last updated