public enum OffsetReset extends Enum<OffsetReset>
auto.offset.reset property for a Kafka consumer.| Enum Constant and Description | 
|---|
EARLIEST
Earliest means that a consumer will start reading the earliest available records for a topic. 
 | 
LATEST
Latest means that a consumer will start reading the latest consumer records. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static OffsetReset | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static OffsetReset[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final OffsetReset EARLIEST
public static final OffsetReset LATEST
public static OffsetReset[] values()
for (OffsetReset c : OffsetReset.values()) System.out.println(c);
public static OffsetReset 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 null