Matthias J. Sax created KAFKA-17164:
---------------------------------------
Summary: Consider to enforce application.server <server>:<port>
format at config level
Key: KAFKA-17164
URL: https://issues.apache.org/jira/browse/KAFKA-17164
Project: Kafka
Issue Type: Improvement
Components: streams
Reporter: Matthias J. Sax
KafkaStreams support configuration parameter `application.server` which must be
of format `<server>:<port>`.
However, in `StreamsConfig` we accept any `String` w/o validation, but only
validate the format inside `KafkaStreams` constructor.
It might be better to add an `AbstactConfig.Validator` and move this validation
into `StreamsConfig` directly.
This would be a semantic change because `new StreamsConfig(...)` might now
throw an exception. Thus we need a KIP for this change, and it's technically
backward incompatible... (So not sure if we can do this at all – expect for a
major release? – But 4.0 is close...)
The ROI is unclear to be fair. Filing this ticket mainly for documentation and
to collect feedback if people think it would be a worthwhile thing to do or not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)