You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/01 06:54:10 UTC

[GitHub] [rocketmq] jeffchanjunwei commented on pull request #3307: [ISSUE #3306] Implement SelectMessageQueueByMachineRoom

jeffchanjunwei commented on pull request #3307:
URL: https://github.com/apache/rocketmq/pull/3307#issuecomment-909973258


   I am also implementimg this function these days. Maybe I can talk about my implement. I rewrite the "buildMQClientId" function. The clientId will start with machineroom tag like "${machineroom-{clientip}@{pid}}". Then the argument "arg" in select method is replaced with clientId. The preferred mqs is selected if the clientId has the same pre-value with brokername. haha. Maybe your implement is more compatibility.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org