public static enum KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY extends Enum<KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY>
Enum Constant and Description |
---|
EARLIEST
Start from the earliest available record
|
FROM_DATETIME
Start from corresponding timestamp as an unix epoch long value
|
FROM_OFFSET
Start from the first record inserted after a given time
|
LAST_COMMITTED
Start from the latest committed record
|
LATEST
Start from the latest available record
|
Modifier and Type | Method and Description |
---|---|
static KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY EARLIEST
public static final KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY LATEST
public static final KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY LAST_COMMITTED
public static final KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY FROM_OFFSET
public static final KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY FROM_DATETIME
public static KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY[] values()
for (KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY c : KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY.values()) System.out.println(c);
public static KafkaContinuousConsumerBuilder.START_OFFSET_STRATEGY 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 nullCopyright © 2014–2023. All rights reserved.