[ https://issues.apache.org/jira/browse/KAFKA-10460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199494#comment-17199494 ]
Ankit Kumar commented on KAFKA-10460: ------------------------------------- Hey [~robinp-tw], Are you working on this? If not, I will be happy to pick it up. > 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 > Priority: Minor > > 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 a star is also accepted > (and then later broker dies at startup, refusing the value). > This practically happened due to a CruiseControl bug (see > [https://github.com/linkedin/cruise-control/issues/1322]) > 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)