confluent kafka mirror create

説明

リンクの下にミラートピックを作成します。送信先トピック名が送信元トピック名と同じである必要があります。

confluent kafka mirror create <source-topic-name> [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.
--cluster string             Kafka cluster ID.
--context string             CLI context name.
--environment string         Environment ID.

グローバルフラグ

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

クラスターリンク "my-link" の下に、ミラートピック "my-topic" を作成します。

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

カスタムのレプリケーション係数と構成ファイルを使用してミラートピックを作成します。

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

関連情報