confluent kafka partition get-reassignments

説明

Confluent Kafka REST を使用して、指定されたクラスター、トピック、またはパーティションについて、実行中のレプリカの再割り当てを取得します。

confluent kafka partition get-reassignments [id] [flags]

フラグ

    --topic string              Topic name to search by.
    --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).

Kafka クラスターについて、すべてのレプリカの再割り当てを取得します。

confluent kafka partition get-reassignments

my_topic について、レプリカの再割り当てを取得します。

confluent kafka partition get-reassignments --topic my_topic

my_topic のパーティション 1 について、レプリカの再割り当てを取得します。

confluent kafka partition get-reassignments 1 --topic my_topic

関連情報