Kafka在zookeeper中的数据结构

一 /brokers节点
/brokers
/brokers/topics
/brokers/topics/test2
/brokers/topics/test2/partitions
/brokers/topics/test2/partitions/0
/brokers/topics/test2/partitions/0/state 的值为...
/brokers/ids
/brokers/ids/202
/brokers/ids/203
/brokers/ids/204
/brokers/ids/202 的值为...
/brokers/seqid的值为null

二 /consumers节点
/consumers
/consumers/console-consumer-75113/ids
                         消费者组                                 该组下的消费者
/consumers/console-consumer-75113/ids/console-consumer-75113_s2013e 的值为{“version":1,“subscription”:{test2},...}
                                                               消费的主题
/consumers/console-consumer-75113/owners
/consumers/console-consumer-75113/owners/test2
/consumers/console-consumer-75113/owners/test2/0的值为console-consumer-75113_s2013e
                        消费者组                          偏移量  主题  分区     值
/consumers/console-consumer-75113/offsets/test2/0的值为0

三 其他节点
/controller的值为{“version":1,“brokerid":202}

删除的主题
/admin/delete_topics/test 的值为null

配置的主题
/config/topics/test
/config/topics/test2的值为{"version":1,"config":{}}
/config/changes的值为null
/config/clients的值为null



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值