Skip to content

Conversation

@mtmk
Copy link
Member

@mtmk mtmk commented Nov 26, 2025

Refactored NatsBuilder to handle multiple keyed options, ensuring independent configurations for each. Added tests to validate correct behavior with keyed clients and enforce method call order for configuration setup. Fixes #1003.

Refactored `NatsBuilder` to handle multiple keyed options, ensuring independent configurations for each. Added tests to validate correct behavior with keyed clients and enforce method call order for configuration setup. Fixes #1003.
@mtmk
Copy link
Member Author

mtmk commented Nov 26, 2025

@andreyeurope apologies for the delay. Does this PR address the issue for you as well?

@mtmk mtmk requested a review from rickdotnet November 27, 2025 12:15
@andreyeurope
Copy link

Yeah, looks good. Thank you for being so responsive.

@mtmk mtmk requested a review from scottf November 27, 2025 14:38
@mtmk mtmk self-assigned this Nov 27, 2025
@mtmk mtmk added the priority label Nov 27, 2025
Copy link
Contributor

@scottf scottf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtmk mtmk merged commit 1d4bd3b into main Dec 2, 2025
29 of 33 checks passed
@mtmk mtmk deleted the fix-di-keyed branch December 2, 2025 09:21
mtmk added a commit that referenced this pull request Dec 11, 2025
* Add prioritized mode (#1011)
* Add Publish Timeout on Disconnect (#1001)
* Fix test flap (#1012)
* Add test to promote mirrored to regular stream (#1008)
* Add Nats-Expected-Last-Subject-Sequence-Subject (#1007)
* Fix keyed NATS clients with configurations (#1006)
* ensure NatsConnectionPool cannot overflow (#1005)
* Fix stream config adjustments on update (#995)
* Handel Unobserved Exceptions During Connection State Transitions (#999)
* Added verification of the consumer sequence number for pull ordered consumers (#981)
* Fix build warnings (#991)
* Reduce closure allocations (#988)
@mtmk mtmk mentioned this pull request Dec 11, 2025
mtmk added a commit that referenced this pull request Dec 11, 2025
* Add prioritized mode (#1011)
* Add Publish Timeout on Disconnect (#1001)
* Fix test flap (#1012)
* Add test to promote mirrored to regular stream (#1008)
* Add Nats-Expected-Last-Subject-Sequence-Subject (#1007)
* Fix keyed NATS clients with configurations (#1006)
* ensure NatsConnectionPool cannot overflow (#1005)
* Fix stream config adjustments on update (#995)
* Handel Unobserved Exceptions During Connection State Transitions (#999)
* Added verification of the consumer sequence number for pull ordered consumers (#981)
* Fix build warnings (#991)
* Reduce closure allocations (#988)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IOptions<NatsOptsBuilder>> overwritten on multiple injections

4 participants