javaazure-eventhub

how to send and consume messages in Event hub via rest api


I am new to the Azure EventHub. I wanted to write a simple prototype which can send and receive messages from AzureEventHub via its rest api.

Could you please help me by providing code snippet demonstrating how to use rest api exposed in EventHub for message producing and consuming.


Solution

  • As per my understanding about EVENTHUB, Rest API has been exposed to send data and there are no rest api available to receive data from event hub.
    I tried implementing Receiver for event hub using
    1. in Java using https://github.com/hdinsight/eventhubs-client
    2. In nodejs using https://github.com/noodlefrenzy/node-amqp10