public static enum Topology.AutoOffsetReset extends Enum<Topology.AutoOffsetReset>
auto.offset.reset
configuration when
adding a source processor
or when creating KStream
or KTable
via StreamsBuilder
.Modifier and Type | Method and Description |
---|---|
static Topology.AutoOffsetReset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Topology.AutoOffsetReset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Topology.AutoOffsetReset EARLIEST
public static final Topology.AutoOffsetReset LATEST
public static Topology.AutoOffsetReset[] values()
for (Topology.AutoOffsetReset c : Topology.AutoOffsetReset.values())
System.out.println(c);
public static Topology.AutoOffsetReset 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