[Kafka] Several methods for obtaining the latest offset of each partition of Kafka in Kafka version 0.10.0

Insert picture description here

1 Overview

Script method

[root@1 kafka]# ./bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list xxx:9092 

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/108664584