Current state: Under Discussion
Discussion thread: here
JIRA: KAFKA-7060
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
ConnectDistributed takes one command-line argument, the name of a properties file to use for worker properties. However, this makes it difficult to provide values for properties which are determined at runtime. (In some environments, the rest.port property could be one such example.)
The workaround is to create a wrapper script to generate a temporary properties file to pass to the process.
An additional command-line argument, --override key=value
, will be accepted for ConnectDistributed.
Kafka brokers have a similar command-line argument for a properties file, but they also allow the user to specify an unlimited number of --override key=value
arguments to override properties (or specify new ones).
ConnectDistributed will accept the same command-line overrides.
This change is additive, so no migration is required, and it is fully backwards compatible.
N/A