How to add brokers without shutting down the cluster


I have 3 broker nodes currently running, how can I add one more broker to the cluster? Just change the config file and restart them one by one?

I tried to add a new broker, but when I tried to start a new instance of a previously deployed workflow, it gave me an error saying “Command rejected with code ‘CREATE’: Expected to find workflow definition with process ID ‘test’, but none found”.
It only fails on new brokers. After I redeployed the workflow, the error was gone.

1 Like

Hey @ltxlouis, it depends on the configuration changes. Did you also change the number of partitions? Or did you only add a new broker? Are you using replication?

Sorry for the late reply.
Yes, by adding one extra broker, I increased partitionCount by 1, replicationFactor by 1.