Zookeeper在Kafka中的作用

  Kafka 0.9 版本之前,consumer 默認將 offset 保存在 Zookeeper 中 從 0.9 版本開始,consumer 默認將 offset 保存在 Kafka 一個內置的 topic 中,該 topic 爲__consumer_offsets     1)管理broker與consumer的動態加入與離開。 2)觸發負載均衡,當broker或consumer加入或離開時
相關文章
相關標籤/搜索