Confluent
CCDAK · Question #165
CCDAK Question #165: Real Exam Question with Answer & Explanation
The correct answer is A. kafka-consumer-groups --bootstrap-server <bootstrap-server> --describe --group my-consumer-. The kafka-consumer-groups --bootstrap-server <bootstrap-server> --describe --group my- consumer-group command shows detailed information about a consumer group, including consumer lag for each partition.
Question
You are receiving messages in your consumer slower than you expect. Which command can you use to determine whether there is any consumer lag?
Options
- Akafka-consumer-groups --bootstrap-server <bootstrap-server> --describe --group my-consumer-
- Bkafka-consumer-groups --bootstrap-server <bootstrap-server> --describe
- Ckafka-consumer-groups --bootstrap-server <bootstrap-server> --consumer-lag --group my-
- Dkafka-consumer-groups --bootstrap-server <bootstrap-server> --metric consumer-lag
Explanation
The kafka-consumer-groups --bootstrap-server <bootstrap-server> --describe --group my- consumer-group command shows detailed information about a consumer group, including consumer lag for each partition.
Community Discussion
No community discussion yet for this question.