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

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

commit e534f2fd1ad8e11df9d18b8b5a324bd430c5f9f7
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Feb 2 11:03:04 2024 +0100

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

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
index 15b6525b..8e43c48d 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
@@ -97,6 +97,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:kafka"
@@ -121,6 +125,7 @@ spec:
         groupId: "{{?consumerGroup}}"
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
+        maxPollIntervalMs: "{{?maxPollIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
       steps:

Reply via email to