简体   繁体   English

如何检查分配有特定主题分区的卡夫卡消费者的滞后时间?

[英]How to check the lag of a consumer in Kafka which is assigned with a particular partition of a topic?

I want to check the lag for a consumer group which was assigned manually to particular topic , is this possible ? 我想检查手动分配给特定主题的消费者组的滞后时间,这可能吗? . I am using Kafka - 0.10.0.1 .I used sh kafka-run-class.sh kafka.admin.ConsumerGroupCommand —new-consumer —describe —bootstrap-server localhost:9092 —group test but it says no group exists , so i wonder when we assign a partition manually can we check the lag for the consumer. 我正在使用Kafka-0.10.0.1。我使用了sh kafka-run-class.sh kafka.admin.ConsumerGroupCommand-new-consumer -describe -bootstrap-server localhost:9092 -group test但它说不存在任何组,所以我想知道当我们手动分配分区时,可以检查使用者的延迟。

./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group ./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group

.

If You want API support or visual lag monitoring you can use https://github.com/yahoo/kafka-manager 如果您需要API支持或可视化滞后监视,则可以使用https://github.com/yahoo/kafka-manager

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

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