CoderLan0668 opened a new issue #1211: latest code on branch master not correct
URL: https://github.com/apache/rocketmq/issues/1211
 
 
   while creating or updating topic on rocketmq console, the step is:
   
   1、the console will request the broker to create or update topic, look the 
class AdminBrokerProcessor  in broker
   
   
![image](https://user-images.githubusercontent.com/50652021/57796205-5e1a2d00-777a-11e9-9e51-7b3b1253ac01.png)
   
   the broker will try to registerIncrementBrokerData to namesrv,  go ahead ,i 
found the code of sending remote command to namesrv, it is in BrokerOuterApi:
   
   
![image](https://user-images.githubusercontent.com/50652021/57796470-eb5d8180-777a-11e9-8bff-4b5a6c9e8bc3.png)
   
   **note: the data that broker sent to namesrv is json format string( actually 
byte array) of The Class RegisterBrokerBody**
   
   2、the namesrv receive the command sent by broker, namesrv try to 
deserialize, look the code below
   
   
![image](https://user-images.githubusercontent.com/50652021/57796838-a7b74780-777b-11e9-99d2-2cddb35c9ad7.png)
   
   **note: namesrv deserialze as TopicConfigSerializeWrapper, but not 
RegisterBrokerBody**
   
   finally, the console told me that it is success to create or update topic, 
but actually it take no effect.

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

Reply via email to