KAFKA-6805: Enable broker configs to be stored in ZK before broker start (#4898)
Support configuration of dynamic broker configs in ZooKeeper before starting brokers using ConfigCommand. This will allow password configs to be encrypted and stored in ZooKeeper, without requiring clear passwords in server.properties to bootstrap the broker first. Reviewers: Jason Gustafson <jason@confluent.io>
Showing
- core/src/main/scala/kafka/admin/ConfigCommand.scala 79 additions, 11 deletionscore/src/main/scala/kafka/admin/ConfigCommand.scala
- core/src/main/scala/kafka/server/DynamicBrokerConfig.scala 39 additions, 33 deletionscore/src/main/scala/kafka/server/DynamicBrokerConfig.scala
- core/src/main/scala/kafka/zk/AdminZkClient.scala 13 additions, 9 deletionscore/src/main/scala/kafka/zk/AdminZkClient.scala
- core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala 34 additions, 15 deletions...ation/kafka/server/DynamicBrokerReconfigurationTest.scala
- core/src/test/scala/unit/kafka/admin/ConfigCommandTest.scala 111 additions, 14 deletionscore/src/test/scala/unit/kafka/admin/ConfigCommandTest.scala
- docs/configuration.html 17 additions, 0 deletionsdocs/configuration.html
- docs/upgrade.html 2 additions, 0 deletionsdocs/upgrade.html
Loading
Please register or sign in to comment