Class EnvVarConfigProvider

java.lang.Object
org.apache.kafka.common.config.provider.EnvVarConfigProvider
All Implemented Interfaces:
Closeable, AutoCloseable, ConfigProvider, Configurable

public class EnvVarConfigProvider extends Object implements ConfigProvider
An implementation of ConfigProvider based on environment variables. Keys correspond to the names of the environment variables, paths are currently not being used. Using an allowlist pattern ALLOWLIST_PATTERN_CONFIG that supports regular expressions, it is possible to limit access to specific environment variables. Default allowlist pattern is ".*".
  • Field Details

  • Constructor Details

    • EnvVarConfigProvider

      public EnvVarConfigProvider()
    • EnvVarConfigProvider

      public EnvVarConfigProvider(Map<String,String> envVarsAsArgument)
  • Method Details