how to read from __consumer_offsets topic

来自: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)