gpt4 book ai didi

apache-zookeeper - 在 Zookeeper 客户端如何查找组 ID/主题的偏移量?

转载 作者:行者123 更新时间:2023-12-05 01:01:42 25 4
gpt4 key购买 nike

我们使用的是 Kafka 2.10 和 zookeeper 3.4。
关注 http://kafka.apache.org/08/documentation.html#distributionimpl我正在尝试查找组 ID、主题分区的偏移量,但发现偏移量为空:
ls/consumers/test6/offsets/ViewerLogs/0 ---> 返回 []

任何建议如何访问该值?

谢谢

最佳答案

要获取偏移值,请在 zookeeper 中运行命令 get/consumers/test6/offsets/ViewerLogs/0

关于apache-zookeeper - 在 Zookeeper 客户端如何查找组 ID/主题的偏移量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27845999/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com