azure-eventhub

What Azure .NET SDK EventHubClient instance methods are threadsafe?

巧了我就是萌 提交于 2019-11-27 04:43:17
问题 I'm writing code that will be publishing messages from multiple threads to an Azure Event Hub in C# using the EventHubClient. The documentation for EventHubClient contains the fairly standard boiler plate. "Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe." There is no additional documentation as to thread safety in any of the four send methods I would most expect to be thread safe. Were I to believe

Azure event hubs and multiple consumer groups

好久不见. 提交于 2019-11-27 01:26:12
问题 Need help on using Azure event hubs in the following scenario. I think consumer groups might be the right option for this scenario, but I was not able to find a concrete example online. Here is the rough description of the problem and the proposed solution using the event hubs ( I am not sure if this is the optimal solution. Will appreciate your feedback ) I have multiple event-sources that generate a lot of event data (telemetry data from sensors) which needs to be saved to our database and