aaron-ai commented on code in PR #323:
URL: https://github.com/apache/rocketmq-clients/pull/323#discussion_r1056168309
##########
csharp/rocketmq-client-csharp/Client.cs:
##########
@@ -518,11 +508,16 @@ internal virtual void OnSettingsReceived(rmq::Settings
settings)
protected readonly IClientManager Manager;
- protected readonly HashSet<string> _topicsOfInterest = new
HashSet<string>();
+ protected readonly ConcurrentDictionary<string, bool>
_topicsOfInterest = new ();
Review Comment:
Why do we need a map here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]