简体   繁体   English

如何找到消费者组从kafka主题消费数据的开始时间

[英]How to Find Starting time of consuming data from a kafka topic by the consumer group

Is there any API we can use to find the starting time of consumer group started consuming from a Kafka topic? 我们是否可以使用任何API从Kafka主题中找到开始消费的消费群体的开始时间?

I am using Kafka Version 0.11 我正在使用Kafka版本0.11

Kafka doesn't track this information so there's no API you can query to retrieve this data. Kafka不会跟踪此信息,因此没有可查询的API来检索此数据。 However, there's a number of consumer group metrics you can monitor that should enable you to figure this out. 但是,您可以监视许多消费者组指标,这可以使您弄清楚这一点。

Also monitoring tools like Burrow should help you find this information. 此外,像Burrow这样的监视工具也应帮助您找到此信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM