Class KafkaResumable
java.lang.Object
org.apache.camel.component.kafka.consumer.support.resume.KafkaResumable
- All Implemented Interfaces:
org.apache.camel.resume.Resumable
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.resume.Offset<?> org.apache.camel.resume.OffsetKey<?> static KafkaResumableof(org.apache.camel.Exchange exchange) Creates a new resumable for Kafka
-
Method Details
-
getOffsetKey
public org.apache.camel.resume.OffsetKey<?> getOffsetKey()- Specified by:
getOffsetKeyin interfaceorg.apache.camel.resume.Resumable
-
getLastOffset
public org.apache.camel.resume.Offset<?> getLastOffset()- Specified by:
getLastOffsetin interfaceorg.apache.camel.resume.Resumable
-
of
Creates a new resumable for Kafka- Parameters:
exchange- the exchange to create the resumable from- Returns:
- a new KafkaResumable instance with the data from the exchange
-