Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8363

Config provider parsing is broken

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.1.1
    • 2.0.2, 2.3.0, 2.1.2, 2.2.1
    • None
    • None

    Description

      The regex used by the ConfigTransformer class to parse config provider syntax (see KIP-279) 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"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ChrisEgerton Chris Egerton
            ChrisEgerton Chris Egerton
            Randall Hauch Randall Hauch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment