public enum InitialPositionInStream extends Enum<InitialPositionInStream>
| Enum Constant and Description |
|---|
AT_TIMESTAMP
Start from the record at or after the specified server-side timestamp.
|
LATEST
Start after the most recent data record (fetch new data).
|
TRIM_HORIZON
Start from the oldest available data record.
|
| Modifier and Type | Method and Description |
|---|---|
static InitialPositionInStream |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InitialPositionInStream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitialPositionInStream LATEST
public static final InitialPositionInStream TRIM_HORIZON
public static final InitialPositionInStream AT_TIMESTAMP
public static InitialPositionInStream[] values()
for (InitialPositionInStream c : InitialPositionInStream.values()) System.out.println(c);
public static InitialPositionInStream 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 © 2025. All rights reserved.