Robin Palotai created KAFKA-10460:
-------------------------------------
Summary: ReplicaListValidator format checking is incomplete
Key: KAFKA-10460
URL: https://issues.apache.org/jira/browse/KAFKA-10460
Project: Kafka
Issue Type: Bug
Components: core
Affects Versions: 2.4.1
Reporter: Robin Palotai
See
[https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/ConfigHandler.scala#L220]
. The logic is supposed to accept only two cases:
* list of k:v pairs
* a single '*'
But in practice, since the disjunction's second part only checks that the head
is '*', the case where a k:v list is headed by '*' is also accepted (and then
later broker dies at startup, refusing the value).
This practically happened due to a CruiseControl bug (will link related issue
later)
Observed on 2.4, but seems to be present in HEAD's source as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)