Michael Chudinov
Michael Chudinov

Reputation: 2968

Is it possible to receive events from Azure Event Hubs using REST API?

Is it possible to receive events from Azure Event Hubs using REST API? I have found only send event API in the Azure documentation. How to GET events?

Upvotes: 4

Views: 2200

Answers (1)

Serkant Karaca
Serkant Karaca

Reputation: 2034

REST is not supported on the Event Hubs consumer side. Consumers must use one of these two protocols:

  1. AMQP
  2. Kafka

Please check this sample on sending and receiving events: https://learn.microsoft.com/en-us/azure/event-hubs/get-started-dotnet-standard-send-v2

Upvotes: 5

Related Questions