Class KafkaConsumerBackoffManager.Context
- java.lang.Object
-
- org.springframework.kafka.listener.KafkaConsumerBackoffManager.Context
-
- Enclosing interface:
- KafkaConsumerBackoffManager
public static class KafkaConsumerBackoffManager.Context extends java.lang.Object
Provides the state that will be used for backing off.- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.kafka.clients.consumer.Consumer<?,?>
getConsumerForTimingAdjustment()
long
getDueTimestamp()
java.lang.String
getListenerId()
org.apache.kafka.common.TopicPartition
getTopicPartition()
-
-
-
Method Detail
-
getDueTimestamp
public long getDueTimestamp()
-
getListenerId
public java.lang.String getListenerId()
-
getTopicPartition
public org.apache.kafka.common.TopicPartition getTopicPartition()
-
getConsumerForTimingAdjustment
public org.apache.kafka.clients.consumer.Consumer<?,?> getConsumerForTimingAdjustment()
-
-