You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Egerton (JIRA)" <ji...@apache.org> on 2019/05/14 01:21:00 UTC

[jira] [Created] (KAFKA-8363) Config provider parsing is broken

Chris Egerton created KAFKA-8363:
------------------------------------

             Summary: Config provider parsing is broken
                 Key: KAFKA-8363
                 URL: https://issues.apache.org/jira/browse/KAFKA-8363
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 2.1.1, 2.2.0, 2.1.0, 2.0.1, 2.0.0
            Reporter: Chris Egerton
            Assignee: Chris Egerton


The [regex|https://github.com/apache/kafka/blob/63e4f67d9ba9e08bdce705b35c5acf32dcd20633/clients/src/main/java/org/apache/kafka/common/config/ConfigTransformer.java#L56] used by the {{ConfigTransformer}} class to parse config provider syntax (see [KIP-279|https://cwiki.apache.org/confluence/display/KAFKA/KIP-297%3A+Externalizing+Secrets+for+Connect+Configurations]) is broken and fails when multiple path-less configs are specified. For example: {{"${provider:configOne} ${provider:configTwo}"}} would be parsed incorrectly as a reference with a path of {{"configOne} $\{provider"}}. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)