OFFSET - Type of the offset objectpublic final class KafkaConsumerInfo<OFFSET> extends Object
| Constructor and Description |
|---|
KafkaConsumerInfo(org.apache.twill.kafka.client.TopicPartition topicPartition,
int fetchSize,
OFFSET readOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFetchSize() |
OFFSET |
getReadOffset() |
org.apache.twill.kafka.client.TopicPartition |
getTopicPartition() |
boolean |
hasPendingChanges() |
void |
setReadOffset(OFFSET readOffset) |
public KafkaConsumerInfo(org.apache.twill.kafka.client.TopicPartition topicPartition,
int fetchSize,
OFFSET readOffset)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.