This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


The following commit(s) were added to refs/heads/main by this push:
     new ef1e80ba5 ci: the kafka-source Citrus test reads from the earliest 
offset, so its record is not skipped (#3282)
ef1e80ba5 is described below

commit ef1e80ba58f407043d39f933e9e60509ba6d944e
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 19 22:36:08 2026 +0100

    ci: the kafka-source Citrus test reads from the earliest offset, so its 
record is not skipped (#3282)
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .../src/test/resources/kafka/kafka-source-route.yaml                   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source-route.yaml 
b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source-route.yaml
index 64a56601e..43262e1a5 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source-route.yaml
@@ -22,6 +22,9 @@
         bootstrapServers: '{{kafka.bootstrapServers}}'
         topic: '{{kafka.topic}}'
         saslAuthType: 'NONE'
+        # the record is sent once the consumer has subscribed, which can be 
before the partition is
+        # assigned: read from the start, so the record is not skipped as with 
the default of latest
+        autoOffsetReset: 'earliest'
         deserializeHeaders: '{{kafka.deserializeHeaders}}'
       steps:
         - to:

Reply via email to