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-topicbash

#!/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
相關文章
相關標籤/搜索