Receiving Events from Event Hub using REST

Saurav Banka 1 Reputation point
2021-05-03T23:35:05.527+00:00

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.
357 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,777 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 53,096 Reputation points Microsoft Employee
    2021-05-04T06:11:55.897+00:00

    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.