nowinkeyy opened a new issue, #5055:
URL: https://github.com/apache/rocketmq/issues/5055

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   The broker starts with autoCreateTopic=true. After the broker is registered 
with namesrv, namesrv's TBW102 topic contains the broker's routing information 
( correct ) .
   
   However, the broker crashed and reboot with autoCreateTopic=false. Namesrv's 
TBW102 topic still contains the broker's routing information ( wrong ) .
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   I think autoCreateTopic information should be updated in namesrv whenever 
the broker starts registering with namesrv to update the TBW102 topic.
   
   2. Indicate the importance of this issue to you (blocker, must-have, 
should-have, nice-to-have). Are you currently using any workarounds to address 
this issue?
   
   Because namesrv fails to update TBW102, when the producer sends messages to 
uncreated themes, it will get the wrong TBW102 route from namesrv, which may 
send messages to brokers with autoCreateTopic=false, resulting in an error 
return from the broker 
   [ CODE: 17  DESC: topic[TopicTest] not exist, apply first please! ]. It's 
not reasonable or elegant !
   


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