Is this any way to configure rack id in bitnami kafka image without changing it manually in config file while container run?
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