nerdexam
Confluent

CCDAK · Question #165

You are receiving messages in your consumer slower than you expect. Which command can you use to determine whether there is any consumer lag?

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.

Monitoring

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

How the community answered

(21 responses)
  • A
    90% (19)
  • B
    5% (1)
  • D
    5% (1)

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.

Topics

#consumer lag#kafka-consumer-groups#monitoring commands

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice