You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2023/04/06 15:23:00 UTC

[jira] [Resolved] (KAFKA-14376) Add ConfigProvider to make use of environment variables

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

Mickael Maison resolved KAFKA-14376.
------------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

> Add ConfigProvider to make use of environment variables
> -------------------------------------------------------
>
>                 Key: KAFKA-14376
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14376
>             Project: Kafka
>          Issue Type: Improvement
>          Components: config
>            Reporter: Roman Schmitz
>            Assignee: Roman Schmitz
>            Priority: Minor
>              Labels: needs-kip
>             Fix For: 3.5.0
>
>
> 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|https://cwiki.apache.org/confluence/display/KAFKA/KIP-887%3A+Add+ConfigProvider+to+make+use+of+environment+variables]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)