Receiving Events from Event Hub using REST

Saurav Banka 1 Reputation point

Is it possible to received events from an event hub using a REST API Call? I noticed it's possible to add new events using a REST API.

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
532 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,054 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 73,811 Reputation points Microsoft Employee

    Hello @Saurav Banka ,

    Welcome to the Microsoft Q&A platform.

    Yes, you are correct - You can send event using REST API and you cannot receive event using REST API.

    Using Event Hubs service REST API, you can perform the following publisher policy operations:

    • Send event
    • Send event with publisher ID
    • Send partition event
    • Send batch events

    For more details, refer the SO thread addressing similar issue.

    Hope this helps. Do let us know if you any further queries.


    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.