Class KafkaMessageSource.KafkaAckInfoImpl
java.lang.Object
org.springframework.integration.kafka.inbound.KafkaMessageSource.KafkaAckInfoImpl
- All Implemented Interfaces:
Comparable<KafkaMessageSource.KafkaAckInfo<K,
,V>> KafkaMessageSource.KafkaAckInfo<K,
V>
- Enclosing class:
- KafkaMessageSource<K,
V>
public class KafkaMessageSource.KafkaAckInfoImpl
extends Object
implements KafkaMessageSource.KafkaAckInfo<K,V>
Information for building an KafkaAckCallback.
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(KafkaMessageSource.KafkaAckInfo<K, V> other) Map<org.apache.kafka.common.TopicPartition,
Set<KafkaMessageSource.KafkaAckInfo<K, V>>> org.apache.kafka.common.TopicPartition
boolean
boolean
void
setAckDeferred
(boolean ackDeferred) void
setRolledBack
(boolean rolledBack) toString()
-
Method Details
-
getConsumerMonitor
- Specified by:
getConsumerMonitor
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
getGroupId
- Specified by:
getGroupId
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
getConsumer
- Specified by:
getConsumer
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
getRecord
- Specified by:
getRecord
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
getTopicPartition
public org.apache.kafka.common.TopicPartition getTopicPartition()- Specified by:
getTopicPartition
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
getOffsets
public Map<org.apache.kafka.common.TopicPartition,Set<KafkaMessageSource.KafkaAckInfo<K, getOffsets()V>>> - Specified by:
getOffsets
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
isRolledBack
public boolean isRolledBack()- Specified by:
isRolledBack
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
setRolledBack
public void setRolledBack(boolean rolledBack) - Specified by:
setRolledBack
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
isAckDeferred
public boolean isAckDeferred()- Specified by:
isAckDeferred
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
setAckDeferred
public void setAckDeferred(boolean ackDeferred) - Specified by:
setAckDeferred
in interfaceKafkaMessageSource.KafkaAckInfo<K,
V>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<KafkaMessageSource.KafkaAckInfo<K,
V>>
-
toString
-