Closed blootsvoets closed 5 years ago
I'll discuss with @yatharthranjan but generally I would have thought 3x makes sense (especially for those low volume topics).
@afolarin and @blootsvoets Sounds good to me. FYI you can also generate and reassign partition assignments using the kafka-manager UI.
Also in the above it maybe worth to change the order of replicas for each partition. Eg for partition 1 it is [1,2,3], then for partition 2 it can be [2,1,3] and for partition 3 can be [3,2,1] and also to run preferred-leader-election after the reassignment.
Running it through the Kafka manager makes sense. @yatharthranjan could you please take a look if this can be approved?
The variables for kafka-init in docker-compose were not the ones used in the Dockerfile. Changed them to their actual values.
This will not affect existing topics though. To change the replication factor of existing topics, based on a comment from Stackoverflow, the following should work: