jason199101 commented on issue #4807:
URL: https://github.com/apache/rocketmq/issues/4807#issuecomment-1216193877

   > 
   
   
   
   > as I know, metadata in namesrv include kv config and topic route info that 
producers and consumers use for send and consume messages rely on. <img 
alt="image" width="467" 
src="https://user-images.githubusercontent.com/5908412/184176811-baa1fd9a-15d5-4d06-999d-3be3724faf03.png";>
   > 
   > how producers use topic route info when sending message:
   > 
   > 
https://github.com/apache/rocketmq/blob/e5a71bb95f6b8c1dcb4e44d5948469629da3833b/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L550
   > 
   > for consumers, you try to find it.
   
   that's right, both consumer and producer will get the router info from name 
servers. However, just as my question described, if consumer and producer 
getting router info from different name server instances (in one name server 
cluster). which means consumer and producer may have different router info.


-- 
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]

Reply via email to