question

SauravBanka-0598 avatar image
0 Votes"
SauravBanka-0598 asked Nandhagopal edited

Receiving Events from Event Hub using REST

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.

not-supportedazure-event-hubs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PRADEEPCHEEKATLA-MSFT avatar image
2 Votes"
PRADEEPCHEEKATLA-MSFT answered PRADEEPCHEEKATLA-MSFT commented

Hello @SauravBanka-0598,

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SauravBanka-0598,

Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·

Hello @SauravBanka-0598,
Following up to see if the above suggestion was helpful. And, if you have any further query do let us know.
Take care & stay safe!

0 Votes 0 ·