How to create multiple EventHubClients that use several basic TCP connections to provide fast write to EventHubs from a .net web application?
The programming guide for EventHubs ( https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-programming-guide ) says:
It is important to note that additional EventHubClient objects created from the factory messaging instance reuse the same underlying TCP connection. Therefore, these objects have a bandwidth limit on the client side. The Create method reuses one factory messaging. If you need very high throughput from a single sender, you can create multiple messages and one EventHubClient object from each factory message.
And then they have a code sample:
var factory = MessagingFactory.CreateFromConnectionString("your_connection_string"); var client = factory.CreateEventHubClient("MyEventHub");
However, I do not know where / if there is a MessagingFactory in the .Net kernel? Is it possible to do this from the .Net kernel? I looked at Microsoft.Azure.ServiceBus but could not find.
, EventHubClient.CreateFromConnectionString EventHubs , . ( TCP- Windows Resource Monitor).
EventHubClient.CreateFromConnectionString
( , , EventHubClients, MessaginFactory, , . , - , )
Source: https://habr.com/ru/post/1690613/More articles:Kassandra time stamp - javaStrange behavior of time. Since () - goWhat does the dot at the end of the association mean? - umlLaravel 419 Unknown Status - ajaxDebugging in QtCreator using MSVC2017 compiler - c ++React app: the old version is stored in the cache until I check it - reactjsNegation in R, how can I replace words after negation in R? - regexhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1690616/travis-error-package-devtools-was-installed-by-an-r-version-with-different-internals-it-needs-to-be-reinstalled-for-use-with-this-r-version&usg=ALkJrhix0ZV6tdNzPZoB8bJI54rzEoWCQgMake the width 1fr + 1fr = 2fr (with mesh clearance) - cssChanging the receiver name of the kotlin extension function JVM name - javaAll Articles