confluent kafka broker update

説明

ブローカーごとまたはクラスター全体の Kafka ブローカー構成をアップデートします。

confluent kafka broker update [id] [flags]

フラグ

    --config strings            REQUIRED: A comma-separated list of configuration overrides ('key=value') for the broker being updated.
    --all                       Apply config update to all brokers in the cluster.
    --url string                Base URL of REST Proxy Endpoint of Kafka Cluster (include /kafka for embedded Rest Proxy). Must set flag or CONFLUENT_REST_URL.
    --ca-cert-path string       Path to a PEM-encoded CA 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-auth                   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")

グローバルフラグ

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

ブローカー 1 の構成値をアップデートします。

confluent kafka broker update 1 --config min.insync.replicas=2,num.partitions=2

クラスター内のすべてのブローカーの構成値をアップデートします。

confluent kafka broker update --all --config min.insync.replicas=2,num.partitions=2

関連情報