user13906258
user13906258

Reputation: 248

How to consume messages from Azure EventHub topic from command line?

I am new to azure eventhub, i know that we can consume data from kafka topic and particular consumer group using below CLI command of

kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic <topic_name> -group <group_name>

Is there a similar way we can consume data from azure eventhub topic through CLI. I have gone through this Microsoft documentation, the document i having CLI commands to create eventhub name space and eventhub topics but not to consume. Please help how can i consume messages from azure eventhub through CLI

Upvotes: 3

Views: 2797

Answers (1)

Serkant Karaca
Serkant Karaca

Reputation: 2034

You can use Kafka CLI commands for consuming events from Azure Event Hubs topics as well. Please check the sample here.

Upvotes: 7

Related Questions