public static enum KafkaProperties.IsolationLevel extends Enum<KafkaProperties.IsolationLevel>
Enum Constant and Description |
---|
READ_COMMITTED
Read records from committed transactions, in addition to records not part of
transactions.
|
READ_UNCOMMITTED
Read everything including aborted transactions.
|
Modifier and Type | Method and Description |
---|---|
byte |
id() |
static KafkaProperties.IsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaProperties.IsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaProperties.IsolationLevel READ_UNCOMMITTED
public static final KafkaProperties.IsolationLevel READ_COMMITTED
public static KafkaProperties.IsolationLevel[] values()
for (KafkaProperties.IsolationLevel c : KafkaProperties.IsolationLevel.values()) System.out.println(c);
public static KafkaProperties.IsolationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte id()