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

Add ConfigProvider to make use of environment variables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.0
    • config

    Description

      So far it is not possible to inject additional configurations stored in environment variables. This topic came up in several projects and would be a useful feature to have as a Kafka config feature similar to file/directory providers, e.g.:

      config.providers=env
      {{}}

      config.providers.env.class=org.apache.kafka.common.config.provider.EnvVarConfigProvider

      ssl.key.password=${env:<...>:KEY_PASSPHRASE}{}

       

      Link to KIP: KIP-887

      Attachments

        Issue Links

          Activity

            People

              Schm1tz1 Roman Schmitz
              Schm1tz1 Roman Schmitz
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: