Moving a Cluster

Move a Streaming with Apache Kafka cluster resource from its current compartment into a different compartment in the OCI tenancy.

    1. On the Kafka clusters list page, select the cluster that you want to work with.
    2. On the details page, from the Actions menu (three dots) select Move resources.
    3. In the Move resource panel, select the destination compartment from the list.
    4. Select Move resource.
  • Use the cluster change-compartment command and required parameters to move a cluster between compartments:

    oci kafka cluster change-compartment --compartment-id compartment_id --kafka-cluster-id <ocid>

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the ChangeKafkaCluster operation to move a cluster between compartments.