confluent kafka link create¶
Flags¶
--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.
--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.
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
See Also¶
- confluent kafka link - Manages inter-cluster links.