Getting Cluster Configuration Details
After creating a Streaming with Apache Kafka cluster configuration file, you need the configuration ID to create the Kafka cluster. You can get this ID by getting details for a cluster configuration.
With Streaming with Apache Kafka you can create and apply custom configurations to both new and existing clusters. You can create and version custom configurations using the CLI, which can then be applied when creating a cluster. In the OCI Console, you can select either the default or a custom configuration during cluster setup.
This section shows you how to get a cluster configuration's details.
This task can't be performed using the Console.
Use the
cluster-config get
command and required parameters to get details for a specific cluster configuration:oci kafka cluster-config get --kafka-cluster-config-id <config-OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
GetKafkaClusterConfig
operation to get details for a specific cluster configuration file.