public class EnvVarConfigProvider extends Object implements org.apache.kafka.common.config.provider.ConfigProvider
| Constructor and Description |
|---|
EnvVarConfigProvider()
Creates the configuration provider and gets the environment variables from the environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> map) |
org.apache.kafka.common.config.ConfigData |
get(String path) |
org.apache.kafka.common.config.ConfigData |
get(String path,
Set<String> keys) |
public EnvVarConfigProvider()
public void configure(Map<String,?> map)
configure in interface org.apache.kafka.common.Configurablepublic org.apache.kafka.common.config.ConfigData get(String path)
get in interface org.apache.kafka.common.config.provider.ConfigProviderpublic org.apache.kafka.common.config.ConfigData get(String path, Set<String> keys)
get in interface org.apache.kafka.common.config.provider.ConfigProviderpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2021. All rights reserved.