Number of commits and offset in each partition of a kafka topic

后端 未结 5 1598
既然无缘
既然无缘 2020-12-28 15:07

How to find the number of commits and current offset in each partition of a known kafka topic. I am using kafka v0.8.1.1

5条回答
  •  渐次进展
    2020-12-28 15:55

    Say suppouse we have topic by name tomorrowis27
    And our requirment is
    Req 1: Wanted to know the partition and offset details of the topic.
    Ans : We can use GetOffsetShell command as shown in the below screenshot.

    Req 2: Wanted to know the no of offset consumed by a consumer group.
    Ans: We can use ConsumerGroupCommand as shown in the below screenshot.

提交回复
热议问题