Interface KafkaManualCommitFactory
- All Known Implementing Classes:
DefaultKafkaManualAsyncCommitFactory,DefaultKafkaManualCommitFactory
public interface KafkaManualCommitFactory
Factory to create a new
KafkaManualCommit to store on the Exchange.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA holder class for the Camel exchange related payload, such as the exchange itself, the consumer, thread ID, etcstatic classA holder class for the payload related to the Kafka record, such as partition and topic information -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(KafkaManualCommitFactory.CamelExchangePayload camelExchangePayload, KafkaManualCommitFactory.KafkaRecordPayload kafkaRecordPayload, CommitManager commitManager) Creates a new instance
-
Method Details
-
newInstance
KafkaManualCommit newInstance(KafkaManualCommitFactory.CamelExchangePayload camelExchangePayload, KafkaManualCommitFactory.KafkaRecordPayload kafkaRecordPayload, CommitManager commitManager) Creates a new instance- Parameters:
camelExchangePayload- the exchange-related payload from CamelkafkaRecordPayload- the record-related payload from Kafka
-