confluent kafka cluster configuration update¶
Description¶
Update Kafka cluster configurations.
confluent kafka cluster configuration update [flags]
Update cluster-wide Kafka broker configurations.
confluent kafka cluster configuration update [flags]
Flags¶
--config strings REQUIRED: A comma-separated list of "key=value" pairs, or path to a configuration file containing a newline-separated list of "key=value" pairs.
--context string CLI context name.
--environment string Environment ID.
--cluster string Kafka cluster ID.
--config strings REQUIRED: A comma-separated list of "key=value" pairs, or path to a configuration file containing a newline-separated list of "key=value" pairs.
--url string Base URL of REST Proxy Endpoint of Kafka Cluster (include "/kafka" for embedded Rest Proxy). Must set flag or CONFLUENT_REST_URL.
--certificate-authority-path string Path to a PEM-encoded Certificate Authority to verify the Confluent REST Proxy.
--client-cert-path string Path to client cert to be verified by Confluent REST Proxy. Include for mTLS authentication.
--client-key-path string Path to client private key, include for mTLS authentication.
--no-authentication Include if requests should be made without authentication headers and user will not be prompted for credentials.
--prompt Bypass use of available login credentials and prompt for Kafka Rest credentials.
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
Global Flags¶
-h, --help Show help for this command.
--unsafe-trace Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
Examples¶
Update Kafka cluster configuration “auto.create.topics.enable” to “true”.
confluent kafka cluster configuration update --config auto.create.topics.enable=true
Update configuration values for all brokers in the cluster.
confluent kafka cluster configuration update --config min.insync.replicas=2,num.partitions=2
See Also¶
- confluent kafka cluster configuration - Manage Kafka cluster configurations.