ches / docker-kafka

Apache Kafka on Docker
https://hub.docker.com/r/ches/kafka/
146 stars 137 forks source link

Create config backdoor #23

Closed tcoupland closed 6 years ago

tcoupland commented 7 years ago

This change allows the setting of any of the many server properties.

It's a little hacky, but very useful for exploring some of the more interesting kafka configuration options.

ches commented 7 years ago

Thanks, I've been meaning to change the configuration approach to allow setting any arbitrary Kafka config keys but haven't gotten to it.

I was going to do it by mechanically translating KAFKA_FOO_SETTING env variables into foo.setting = in the server.properties with some shell scripting, I believe this can work as a mostly general case—want to take a stab at that?