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

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

     [ https://issues.apache.org/jira/browse/KAFKA-8363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch resolved KAFKA-8363.
----------------------------------
    Resolution: Fixed
      Reviewer: Randall Hauch

> 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.0.0, 2.0.1, 2.1.0, 2.2.0, 2.1.1
>            Reporter: Chris Egerton
>            Assignee: Chris Egerton
>            Priority: Major
>             Fix For: 2.0.2, 2.3.0, 2.1.2, 2.2.1
>
>
> 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)