Rajini Sivaram created KAFKA-9096:
-------------------------------------
Summary: Validate config inter-dependencies for KafkaConfig only
after dynamic configs are loaded
Key: KAFKA-9096
URL: https://issues.apache.org/jira/browse/KAFKA-9096
Project: Kafka
Issue Type: Improvement
Components: core
Reporter: Rajini Sivaram
Assignee: Rajini Sivaram
Fix For: 2.5.0
We currently perform all validations in KafkaConfig when creating the config
instance. This includes some checks that include multiple configs, e.g. is the
inter-broker listener also present in the listener map? With dynamic configs,
some configs come from the static properties file and others come from
ZooKeeper. At the moment, we have a requirement for the static properties file
to be consistent on its own, even though the config we actually use for the
broker is the one where we have overlayed the configs from ZK on top of the
static configs. We should continue to validate individual configs for the
static configs file, but delay validating inter-dependencies until dynamic
configs have also been processed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)