apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
314 stars 127 forks source link

question about namesrv cluster up-scale #28

Closed keranbingaa closed 4 years ago

keranbingaa commented 4 years ago

when namesrv cluster up-scaling,does the broker shutdown and change the namesrv list and then restart? I have this question becuase I note the broker IP changed after namesrv cluster up-scale and the log file contians restart log. can we up-scale the namesrv cluster without restart broker?

liuruiyiyang commented 4 years ago

YES, when namesrv cluster up-scaling, the broker instances will rolling restart (one by one). Thus this process has little influence on providing service for user bussiness, unless you have only one broker instance. Could you please tell us more about what harms if the broker restart(broker IP changing) in your application scenario?

liuruiyiyang commented 4 years ago

In fact we working on this and you can refer to RocketMQ PR#1458[https://github.com/apache/rocketmq/pull/1458]

keranbingaa commented 4 years ago

In fact we working on this and you can refer to RocketMQ PR#1458[https://github.com/[apache/rocketmq/pull/1458](https://github.com/apache/rocketmq/pull/1458)] ok,I will refer to this