나는 카프카에게 아주 새로운 사람이다. 그래서이 질문은 매우 기초적 일 수 있습니다. 내가 달성하려는 것은 중개인이 실패하고 다시 추가 될 때 재조정에 걸리는 시간을 알아내는 것입니다. 설명서를 읽은 후 (http://kafka.apache.org/documentation/#basic_ops_restarting
). 브로커가 실패하거나 유지 보수를 위해 내려올 때카프카 재조정에 걸리는 시간은 어떻게 측정합니까?
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.
내가migrate any partitions that the server is the leader for to other replicas
내 카프카에 걸리는 시간을 알 수있다 수행 할 작업을
설치는 3 개의 브로커 노드와 3 개의 zk 노드입니다.
또한이 노드를 auto.rebalance=true
속성에 다시 추가하면 재조정이 다시 시작되어 리더를 다시 선출합니다. 이 시간도 어떻게 측정합니까?