zbendhiba commented on a change in pull request #3124: URL: https://github.com/apache/camel-quarkus/pull/3124#discussion_r714775001
########## File path: integration-tests/kafka/src/main/java/org/apache/camel/quarkus/component/kafka/CamelKafkaRoutes.java ########## @@ -46,5 +65,33 @@ public void configure() throws Exception { .messageIdRepositoryRef("kafkaIdempotentRepository") .to("mock:idempotent-results") .end(); + + // Kafka consumer that use Manual commit and performs the manual commit + from(KAFKA_CONSUMER_MANUAL_COMMIT) + .routeId("foo") + .to(SEDA_FOO) + .process(e -> { + KafkaManualCommit manual = e.getIn().getHeader(KafkaConstants.MANUAL_COMMIT, KafkaManualCommit.class); + manual.commitSync(); + }); + + // Kafka consumer that use Maunal commit and doesn't perform the manual commit Review comment: oh yes ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org