[ https://issues.apache.org/jira/browse/CAMEL-20227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863193#comment-17863193 ]
Claus Ibsen commented on CAMEL-20227: ------------------------------------- Okay you need to set autoOffsetReset=true > Kafka offset advances when using Pausable EIP and messages are lost when > resumed > -------------------------------------------------------------------------------- > > Key: CAMEL-20227 > URL: https://issues.apache.org/jira/browse/CAMEL-20227 > Project: Camel > Issue Type: Bug > Components: camel-kafka > Affects Versions: 3.21.2 > Environment: [^sample.txt] > Reporter: Preetam Panchaksharaiah > Assignee: Claus Ibsen > Priority: Minor > Fix For: 4.x > > Attachments: sample.txt > > > Kafka offset advances when using Pausable kafka consumer and messages are > lost when resumed. > Attached is the sample code > Also tried with > KafkaManualCommit manual = > exchange.getIn().getHeader(KafkaConstants.MANUAL_COMMIT, > KafkaManualCommit.class); > manual.commit(); -- This message was sent by Atlassian Jira (v8.20.10#820010)