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

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

commit 72dcae61657428b694129a3379411f69455f52e1
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Feb 2 14:15:17 2024 +0100

    Kafka Batch Source: Expose also maxPollIntervalMs option
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/kafka-batch-source.kamelet.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kamelets/kafka-batch-source.kamelet.yaml 
b/kamelets/kafka-batch-source.kamelet.yaml
index 853e05bb..1e952363 100644
--- a/kamelets/kafka-batch-source.kamelet.yaml
+++ b/kamelets/kafka-batch-source.kamelet.yaml
@@ -128,6 +128,10 @@ spec:
         description: The timeout used when polling the KafkaConsumer
         type: int
         default: 5000
+      maxPollIntervalMs:
+        title: Max Poll Interval
+        description: The maximum delay between invocations of poll() when 
using consumer group management
+        type: int
   dependencies:
     - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT"
     - "camel:core"
@@ -155,6 +159,7 @@ spec:
         groupId: "{{?consumerGroup}}"
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
+        maxPollIntervalMs: "{{?maxPollIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"        
       steps:

Reply via email to