1
votes

Is there an option to send event in batch to Event hub from C#. the SendBatch API mentioned doesn't exist in new EventHubClient.

1

1 Answers

1
votes

There is no longer a send batch call, but there is a SendAsync method with an IEnumerable overload that is effectively the same thing.

https://docs.microsoft.com/dotnet/api/microsoft.azure.eventhubs.eventhubclient#Microsoft_Azure_EventHubs_EventHubClient_SendAsync_Microsoft_Azure_EventHubs_EventData_