0
votes

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

1
Is your Event Hub Kafka-enabled? If so, you might even be able to use your kafka cli (I havent tried that)silent

1 Answers

3
votes

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