public static enum KafkaConsumerProperties.StartOffset extends Enum<KafkaConsumerProperties.StartOffset>
Modifier and Type | Method and Description |
---|---|
long |
getReferencePoint() |
static KafkaConsumerProperties.StartOffset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaConsumerProperties.StartOffset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaConsumerProperties.StartOffset earliest
public static final KafkaConsumerProperties.StartOffset latest
public static KafkaConsumerProperties.StartOffset[] values()
for (KafkaConsumerProperties.StartOffset c : KafkaConsumerProperties.StartOffset.values()) System.out.println(c);
public static KafkaConsumerProperties.StartOffset 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 nullpublic long getReferencePoint()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.