Current state: Draft
Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]
JIRA:
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Currently, the SocketServer does not support invalid static configurations, as it will crash Kafka with an uncaught exception if the static configuration is invalid during server startup, even if previous dynamic reconfigurations make the configuration valid. It would be better to support invalid static SocketServer configurations so long as there were dynamically set changes that made them valid.
Based on the approach chosen below, enabling this functionality may require an additional file on disk.
There are two general approaches:
BrokerMetadataPublisher (specifically the DynamicConfigPublisher ) first so that dynamic configuration changes are processed from the current metadata image before reading any configs in the SocketServer . MetadataLoader#initializeNewPublishers completes before reading configs in the SocketServer to avoid a race. This is because the publisher installation future is returned before publisher initialization is guaranteed to be finished since it's scheduled on the separate MetadataLoader thread.Points of discussion on the snapshot approach:
Points of discussion on the file approach:
Describe in few sentences how the KIP will be tested. We are mostly interested in system tests (since unit-tests are specific to implementation details). How will we know that the implementation works as expected? How will we know nothing broke?
If there are alternative ways of accomplishing the same thing, what were they? The purpose of this section is to motivate why the design is the way it is and not some other way.