Deleting a Cluster Configuration

You can only delete a cluster configuration that's not used by a cluster in Streaming with Apache Kafka.

  • You can delete a configuration only when no cluster uses it. Deleting the configuration also deletes its associated versions. To delete only one version, see Deleting a Cluster Configuration Version.

    1. On the Cluster configurations list page, find the cluster configuration that you want to work with. If you need help finding the list page or the configuration, see Listing Cluster Configurations.
    2. From the Actions menu (three dots) for the cluster configuration, select Delete configuration.
    3. Or, open the unused configuration from the Cluster configurations list page.
    4. From the Actions menu, select Delete configuration.
    5. Review the confirmation, including the versions that will also be deleted, and select Delete.
  • Use the cluster-config delete command and required parameters to delete a cluster configuration:

    oci kafka cluster-config delete 
    --kafka-cluster-config-id <config-OCID>
                            

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the DeleteKafkaClusterConfig operation to delete a cluster configuration file.