Currently the default replication factor for Kafka is hard-coded to be set to 2 if there are multiple zookeeper servers present and to 1 otherwise.
https://github.com/Juniper/contrail-container-builder/blob/R5.1/containers/external/kafka/docker-entrypoint.sh#L30-L35
It would be good to make it possible to use a larger value based on an environment variable.
Currently the default replication factor for Kafka is hard-coded to be set to 2 if there are multiple zookeeper servers present and to 1 otherwise.
https://github.com/Juniper/contrail-container-builder/blob/R5.1/containers/external/kafka/docker-entrypoint.sh#L30-L35
It would be good to make it possible to use a larger value based on an environment variable.