ccloud kafka mirror create

Attention

The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.

Description

Create a mirror topic under the link. Currently, destination topic name is required to be the same as the Source topic name.

ccloud kafka mirror create <source-topic-name> [flags]

Flags

--link string                REQUIRED: The name of the cluster link to attach to the mirror topic.
--replication-factor int32   Replication factor. (default 3)
--config-file string         Name of a file with additional topic configuration. Each property should be on its own line with the format: key=value.
--environment string         Environment ID.
--cluster string             Kafka cluster ID.
--context string             CLI context name.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Examples

Create a cluster link.

ccloud kafka mirror create <source-topic-name> --link <link> --replication-factor <replication-factor> --config-file mirror_config.txt
ccloud kafka mirror create <source-topic-name> --link <link>

See Also