public static enum Topology.AutoOffsetReset extends java.lang.Enum<Topology.AutoOffsetReset>
auto.offset.reset
configuration when
adding a source processor
or when creating KStream
or KTable
via StreamsBuilder
.Modifier and Type | Method | Description |
---|---|---|
static Topology.AutoOffsetReset |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null