Package org.apache.kafka.clients.admin
Enum ConfigEntry.ConfigSource
- java.lang.Object
-
- java.lang.Enum<ConfigEntry.ConfigSource>
-
- org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigEntry.ConfigSource>
- Enclosing class:
- ConfigEntry
public static enum ConfigEntry.ConfigSource extends Enum<ConfigEntry.ConfigSource>
Source of configuration entries.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_CONFIG
DYNAMIC_BROKER_CONFIG
DYNAMIC_BROKER_LOGGER_CONFIG
DYNAMIC_DEFAULT_BROKER_CONFIG
DYNAMIC_TOPIC_CONFIG
STATIC_BROKER_CONFIG
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigEntry.ConfigSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigEntry.ConfigSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMIC_TOPIC_CONFIG
public static final ConfigEntry.ConfigSource DYNAMIC_TOPIC_CONFIG
-
DYNAMIC_BROKER_LOGGER_CONFIG
public static final ConfigEntry.ConfigSource DYNAMIC_BROKER_LOGGER_CONFIG
-
DYNAMIC_BROKER_CONFIG
public static final ConfigEntry.ConfigSource DYNAMIC_BROKER_CONFIG
-
DYNAMIC_DEFAULT_BROKER_CONFIG
public static final ConfigEntry.ConfigSource DYNAMIC_DEFAULT_BROKER_CONFIG
-
STATIC_BROKER_CONFIG
public static final ConfigEntry.ConfigSource STATIC_BROKER_CONFIG
-
DEFAULT_CONFIG
public static final ConfigEntry.ConfigSource DEFAULT_CONFIG
-
UNKNOWN
public static final ConfigEntry.ConfigSource UNKNOWN
-
-
Method Detail
-
values
public static ConfigEntry.ConfigSource[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigEntry.ConfigSource c : ConfigEntry.ConfigSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigEntry.ConfigSource valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-