aldettinger commented on a change in pull request #3124:
URL: https://github.com/apache/camel-quarkus/pull/3124#discussion_r714738718
##########
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:
A small typo there ?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]