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

 

相关文章:

  • 2021-10-19
  • 2022-01-12
  • 2021-10-19
  • 2021-09-04
  • 2021-10-20
  • 2021-10-28
  • 2022-12-23
  • 2022-02-12
猜你喜欢
  • 2022-01-15
  • 2021-05-28
  • 2021-07-14
  • 2021-12-03
  • 2021-09-26
  • 2021-05-04
  • 2021-10-11
相关资源
相似解决方案