public class KafkaMessageSource.KafkaAckInfoImpl extends Object implements KafkaMessageSource.KafkaAckInfo<K,V>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KafkaMessageSource.KafkaAckInfo<K,V> other) |
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) |
String |
toString() |
public Object getConsumerMonitor()
getConsumerMonitor
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public String getGroupId()
getGroupId
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public org.apache.kafka.clients.consumer.Consumer<K,V> getConsumer()
getConsumer
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public org.apache.kafka.clients.consumer.ConsumerRecord<K,V> getRecord()
getRecord
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public org.apache.kafka.common.TopicPartition getTopicPartition()
getTopicPartition
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public Map<org.apache.kafka.common.TopicPartition,Set<KafkaMessageSource.KafkaAckInfo<K,V>>> getOffsets()
getOffsets
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public boolean isRolledBack()
isRolledBack
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public void setRolledBack(boolean rolledBack)
setRolledBack
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public boolean isAckDeferred()
isAckDeferred
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public void setAckDeferred(boolean ackDeferred)
setAckDeferred
in interface KafkaMessageSource.KafkaAckInfo<K,V>
public int compareTo(KafkaMessageSource.KafkaAckInfo<K,V> other)
compareTo
in interface Comparable<KafkaMessageSource.KafkaAckInfo<K,V>>