K
- the key type.V
- the value type.public static interface KafkaMessageSource.KafkaAckInfo<K,V> extends Comparable<KafkaMessageSource.KafkaAckInfo<K,V>>
Modifier and Type | Method and Description |
---|---|
org.apache.kafka.clients.consumer.Consumer<K,V> |
getConsumer() |
Object |
getConsumerMonitor() |
String |
getGroupId() |
Map<org.apache.kafka.common.TopicPartition,Set<KafkaMessageSource.KafkaAckInfo<K,V>>> |
getOffsets() |
org.apache.kafka.clients.consumer.ConsumerRecord<K,V> |
getRecord() |
org.apache.kafka.common.TopicPartition |
getTopicPartition() |
boolean |
isAckDeferred() |
boolean |
isRolledBack() |
void |
setAckDeferred(boolean ackDeferred) |
void |
setRolledBack(boolean rolledBack) |
compareTo
Object getConsumerMonitor()
String getGroupId()
org.apache.kafka.common.TopicPartition getTopicPartition()
Map<org.apache.kafka.common.TopicPartition,Set<KafkaMessageSource.KafkaAckInfo<K,V>>> getOffsets()
boolean isRolledBack()
void setRolledBack(boolean rolledBack)
boolean isAckDeferred()
void setAckDeferred(boolean ackDeferred)