walking98 commented on issue #54: [ISSUE #46] support multi rocketmq server URL: https://github.com/apache/rocketmq-spring/pull/54#issuecomment-480668296 Hi, the major scenario is to support consumer & producer using different name-server, it can be implemented by add an optional property for @RocketMQMessageListener, e.g. @RocketMQMessageListener(nameServer = "${extra.consumer.name-server}", ...) If we need more producer with different name-servers, I think it can be implemented by extra configuration, e.g. @Component(name="extraProducerTemplate") @ExtProducerConfigure(nameServer="", 以及如下的producer配置项,它们默认使用global的配置 groupName="", aclAccessKey = "", aclSecretKey = "", enableMsgTrace = "", customizedTraceTopic = "", sendMsgTimeout = "", retryTimesWhenSendFailed = "", retryTimeWhenSendAsyncFailed = "", maxMessageSize = "", compressMsgBodyOverThreshold = "", retryNextServer = "" ) I would like to add a new PR for your review and discuss.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
