Creating a Cluster Configuration
Create a reusable cluster configuration that defines broker property settings for Kafka clusters in Streaming with Apache Kafka.
When creating a Kafka cluster in the Console, you select an existing cluster configuration and configuration version. If you need different broker property settings, you must create a new configuration or configuration version before you can select it for the cluster.
To create a new configuration version, see Updating a Cluster Configuration.
Create a reusable configuration before selecting it during cluster creation.
Use the
cluster-config createcommand and required parameters to create the configuration for a Kafka cluster:oci kafka cluster-config create -c <compartment-ocid> --latest-config '{"properties":{"<key1>":"<value1>","<key2>":"<value2>"}}'As a best practice, you can create a configuration
config_name.propertieswith all the required property key-value pairs and then provide this file to thecluster-config createcommand:oci kafka cluster-config create -c <compartment-ocid> --latest-config <file-name>For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
CreateKafkaClusterConfigoperation to create a cluster configuration.