Juniper / contrail-container-builder

Build contrail networking control components as micro-services
Apache License 2.0
17 stars 38 forks source link

Replication factor for Kafka is not configurable to values greater than 2 #21

Open dshcherb opened 5 years ago

dshcherb commented 5 years ago

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.

Andrey-mp commented 5 years ago

Hi @dshcherb , This repo is under gerrit/jira - so it would more helpful to escalate issues via PLM. In this case they can be fixed :)

dshcherb commented 5 years ago

Hi @Andrey-mp,

Thanks, I'll do that.