confluent kafka mirror create

Description

Create a mirror topic under the link. The destination topic name is required to be the same as the source topic name.

confluent 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 mirror topic my-topic under cluster link my-link.

confluent kafka mirror create my-topic --link my-link

Create a mirror topic with a custom replication factor and configuration file.

confluent kafka mirror create my-topic --link my-link --replication-factor 5 --config-file my-config.txt

See Also