You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MQClientInstance will get all topic routeinfo from nameserver per 30s ;
when MQClientInstance's scheudle is running ,then a now topic task coming , my app will call send , the Producer send will also call updateTopicRouteInfoFromNameServer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
my schedule application have 1000+ rmq task , which task with a different topic , so my app contains 1000+ topic info ;
MQClientInstance
MQClientInstance will get all topic routeinfo from nameserver per 30s ;
when MQClientInstance's scheudle is running ,then a now topic task coming , my app will call send , the Producer send will also call
updateTopicRouteInfoFromNameServer
this method will lock ;
lockNamesrv is noaffair lock ,this will case new topic's send can't get lock ,then throw exception No route info of this topic
why lockNamesrv not use affair lock ?
Beta Was this translation helpful? Give feedback.
All reactions