码迷,mamicode.com
首页 > 其他好文 > 详细

how to read from __consumer_offsets topic

时间:2016-05-19 01:26:02      阅读:363      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!