私はカフカにはとても新しいです。だからこの質問は非常に基本的かもしれない。 私が達成しようとしているのは、ブローカが失敗し、その後に追加されたときに再調整にかかる時間を調べることです。 私の文書を読む(http://kafka.apache.org/documentation/#basic_ops_restarting
)。ブローカーが失敗した場合やmigrate any partitions that the server is the leader for to other replicas
カフカ再バランスに要する時間をどのように測定するのですか?
マイカフカにかかる時間を見つけている私は何をしたいのメンテナンス
It will sync all its logs to disk to avoid needing to do any log recovery when it restarts (i.e. validating the checksum for all messages in the tail of the log). Log recovery takes time so this speeds up intentional restarts.
It will migrate any partitions the server is the leader for to other replicas prior to shutting down. This will make the leadership transfer faster and minimize the time each partition is unavailable to a few milliseconds.
のために降ろされた場合セットアップは3つのブローカノードと3つのzkノードです。
さらに、このノードをauto.rebalance=true
のプロパティに追加すると、再バランスが再び開始され、リーダーが再選されます。 この時間もどのように測定するのですか?