首页 > 其他 > 详细

how to read from __consumer_offsets topic

时间:2016-05-19 01:23:40      阅读:139      评论:0      收藏:0      [点我收藏+]

来自:http://grokbase.com/t/kafka/users/15bs2r0m83/kafka-0-8-2-1-how-to-read-from-consumer-offsets-topic

#!/bin/bash
#查询kafka消费点
for f in $(find /opt/data/kafkadata/__consumer_offsets-* -name "*\.log");
do
    /opt/modules/kafka210-0901/bin/kafka-run-class.sh kafka.tools.DumpLogSegments --print-data-log --files $f ;
done

 

how to read from __consumer_offsets topic

原文:http://www.cnblogs.com/sunxucool/p/5507167.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!