InMemoryQueue clears all `_groupTopics` even though only one InMemoryConsumerClient with a certain `groupId` is disposed
wakiter opened this issue · comments
Rafal Kozlowski commented
With multiple consumers registered, we have multiple groupId keys added to _groupTopics
dictionary. When InMemoryConsumerClient
is disposed because is not needed anymore, the whole dictionary of subscriptions is cleared - while it should be cleared only for a certain groupId as the method name suggests.
In this PR #6 I've added a fix for this issue which may be seen in a multithreaded and multiconsumer tests.