How to ensure a kafka cluster is fully up?

前端 未结 2 1147
遇见更好的自我
遇见更好的自我 2021-01-26 00:28

We have five node cluster running in production with 3 zookeepers - all are VMs. We have to restart the cluster often for some hardware patching.

We have written an ans

2条回答
  •  执笔经年
    2021-01-26 01:25

    From the Java API, you can use AdminClient#describeCluster, which can return you the list of nodes in the cluster currently known to the Controller.


    Also, do not do broker rolling restarts like that. You should first identify which is the Contoller, then shut that down last.

提交回复
热议问题