ccloud kafka mirror create

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.
--replication-factor int32   Replication-factor, default: 3. (default 3)
--config-file string         Name of the file containing topic config overrides. Each property key-value pair should have the format of key=value. Properties are separated by new-line characters.
--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, using supplied Source URL and properties.

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

See Also