[Host.Nats] Queues support via QueueGroup#453
Conversation
8ad3b6e to
e2db8dc
Compare
|
Hey @steel97, thanks for the contribution to the NATS transport — this looks solid overall 👍 A couple of follow-ups before we merge:
|
|
Hi @zarusz! Thanks for quick reply. I looked over Regarding Few notes:
UPD: After digging a little bit more (with lots of Console.WriteLine's) I find out next: Pre AutoStart call [xUnit.net 00:00:14.07] creating bus and starting # Incremented started var, source: test method Incremented started var, source: AutoStart Based on this, looks like this failure can be seen when:
UPD 2 TL;DR public async virtual Task AutoStart(CancellationToken cancellationToken)
{
await Task.Delay(500);
...Add for (var i = 0; i < 10; i++)
{
await Task.WhenAll(Enumerable.Range(0, 10000).Select(x => bus.Stop()).AsParallel());
}
await Task.Delay(1000);UPD 3 |
|
hey @steel97 , thanks for the changes. Few more asks before we can merge:
|
Signed-off-by: Ivan Yv <steel-97@mail.ru>
91a897a to
980163a
Compare
Done
Sure, I did it already at: 4f96fa5 |
|
|
Thanks for the contribution, @steel97! This has now been merged. I’m planning to include it in the 3.4.0 release, and there will be a release candidate (-rc) build available in the meantime for preview. |



[Host.Nats] Add queue support
As stated in library description:
This PR adds missing
queuepattern to Nats transport via QueueGroup.PR highly based on
Redistransport code