Search code examples
dockerapache-kafkabitnami

Kafka rack config in bitnami docker image


Is this any way to configure rack id in bitnami kafka image without changing it manually in config file while container run?


Solution

  • You cannot change the server.properties file while the broker is running.

    You should be able to use an environment variable like all the other settings

    KAFKA_CFG_BROKER_RACK