public enum StartupMode extends Enum<StartupMode>
StartupOptions| Enum Constant and Description |
|---|
EARLIEST_OFFSET |
INITIAL |
LATEST_OFFSET |
SPECIFIC_OFFSETS |
TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
static StartupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartupMode INITIAL
public static final StartupMode EARLIEST_OFFSET
public static final StartupMode LATEST_OFFSET
public static final StartupMode SPECIFIC_OFFSETS
public static final StartupMode TIMESTAMP
public static StartupMode[] values()
for (StartupMode c : StartupMode.values()) System.out.println(c);
public static StartupMode 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 © 2022 The Apache Software Foundation. All rights reserved.