GitHub user xdkxlk added a comment to the discussion: Optimize how 
MQClientAPIExt is obtained in the MQClientAPIFactory

> Its advantage is that when there are many clients, the traffic can be 
> guaranteed to be balanced. @xdkxlk What do you think?

I think using random should be enough. The `getClient` method will be called 
frequently, so the distribution overall should be relatively even.

GitHub link: 
https://github.com/apache/rocketmq/discussions/6330#discussioncomment-5340846

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to