Excited to announce a new patch release of NATS .NET client library version 2.7.2 with an important fix to slow consumers improving reliability and performance.
Please see Preview 1 release notes for details.
Additionally added SlowConsumerDetected event and logging to make sure applications will be aware of he slow consumers and can look into adjusting channel size or application logic to handle slow message processors when identified.
We also have lots of other minor and important fixes and improvements. Please see the full list below.
What's Changed
Preview 1:
- Add API Compat for TFMs by @mtmk in #1033
- Fix slow consumer blocking by @mtmk in #1041
- resolves: 1035 - Use ConnectTimeout when awaiting INFO signal by @ptsteward in #1039
Preview 2:
- FIXED unobserved exceptions surfacing due to unobserved tcs. by @me064 in #1051
- Add SlowConsumerDetected event and warnings by @mtmk in #1052
- Fix subject encoding to use UTF-8 per NATS protocol spec by @aafloy in #1054
- Fix OTel activity leak in Direct request mode by @aradalvand in #1047
In this release:
- Fix NatsUri not reflecting host/port changes from OnConnectingAsync hook by @tormoder in #997
- Fix StreamSourceInfo.Active handle -1 correctly by @paagamelo2 in #1058
New Contributors
- @ptsteward made their first contribution in #1039
- @me064 made their first contribution in #1051
- @tormoder made their first contribution in #997
Full Changelog: v2.7.1...v2.7.2
Huge thank you to our community for helping with this release ❤️
Download from NuGet https://www.nuget.org/packages/NATS.Net/2.7.2