nerdexam
Confluent

CCDAK · Question #151

You need to consume messages from Kafka using the command-line interface (CLI). Which command should you use?

The correct answer is A. kafka-console-consumer. kafka-console-consumer is the correct CLI tool for consuming messages from Kafka topics. It allows you to read messages from a Kafka cluster directly from the command line.

Kafka Client Fundamentals

Question

You need to consume messages from Kafka using the command-line interface (CLI). Which command should you use?

Options

  • Akafka-console-consumer
  • Bkafka-consumer
  • Ckafka-get-message
  • Dkafka- consume

How the community answered

(35 responses)
  • A
    91% (32)
  • C
    6% (2)
  • D
    3% (1)

Explanation

kafka-console-consumer is the correct CLI tool for consuming messages from Kafka topics. It allows you to read messages from a Kafka cluster directly from the command line.

Topics

#kafka-console-consumer#CLI tools#message consumption

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice