confluent kafka link create¶
フラグ¶
--source-bootstrap-server string REQUIRED: Bootstrap-server address of the source cluster.
--source-cluster-id string REQUIRED: Source cluster ID.
--source-api-key string An API key for the source cluster. If specified, the destination cluster will use SASL_SSL/PLAIN as its mechanism for the source cluster authentication. If you wish to use another authentication mechanism, please do NOT specify this flag, and add the security configs in the config file. Must be used with --source-api-secret.
--source-api-secret string An API secret for the source cluster. If specified, the destination cluster will use SASL_SSL/PLAIN as its mechanism for the source cluster authentication. If you wish to use another authentication mechanism, please do NOT specify this flag, and add the security configs in the config file. Must be used with --source-api-key.
--config-file string Name of the file containing link config overrides. Each property key-value pair should have the format of key=value. Properties are separated by new-line characters.
--dry-run If set, will NOT actually create the link, but simply validates it.
--no-validate If set, will create the link even if the source cluster cannot be reached with the supplied bootstrap server and credentials.
--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).
例¶
指定されたソース URL およびプロパティを使用してクラスターリンクを作成します。
confluent kafka link create my-link --source-cluster-id lkc-abcde --source-bootstrap-server my-host:1234 --config-file config.txt
confluent kafka link create my-link --source-cluster-id lkc-abcde --source-bootstrap-server my-host:1234 --source-api-key my-key --source-api-secret my-secret
関連情報¶
- confluent kafka link - クラスター間リンクを管理します。