how to read from __consumer_offsets topic

Posted 悟寰轩-叶秋

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

java 读取配置文件工具类 (how to read values from properties file in java)

react 子组件访问父组件的方法

vivadoILA调试报错 Data read from hw_ila [hw_ila_1] is corrupted. Unable to upload waveform.

simulation -- How to generate samples from UNIFORM

How to extract pcd from a rosbag? 如何从rosbag中提取pcd

how to download image from any web page in java 下载图片