简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM