Replies: 1 comment 1 reply
-
Hello @iby-dev have a look at the DI package which makes use of the pool nuget: https://www.nuget.org/packages/NATS.Extensions.Microsoft.DependencyInjection/ code: https://github.com/nats-io/nats.net/tree/main/src/NATS.Extensions.Microsoft.DependencyInjection usual disclaimer: also note that NATS is designed to work with a single connection per application concurrently handling high volume of pub/sub/publisher/consumers. please test your application making sure you have the best setup for your applications and the NATS cluster for your case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
Is there an example of suggested best practise of how one can use nats connection pools in a typical dotnet 8 application?
I did look in the examples folder, did not see anything.
I did not realise nats supported this, so i am interested in learning how to use it properly.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions