ccloud kafka topic consume

Description

Consume messages from a Kafka topic.

ccloud kafka topic consume <topic> [flags]

Flags

    --cluster string   Kafka cluster ID.
    --group string     Consumer group ID. (default "confluent_cli_consumer_<uuid>")
-b, --from-beginning   Consume from beginning of the topic.
-h, --help             help for consume

Global Flags

-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Examples

Consume items from the ‘my_topic’ topic and press ‘Ctrl + C’ to exit.

ccloud kafka topic consume -b my_topic

See Also