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 ab6a197da3b2025a42f5b9945c21f06e72cfd3d6 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Feb 2 14:16:07 2024 +0100 Kafka Batch Source: Expose also maxPollIntervalMs option Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../src/main/resources/kamelets/kafka-batch-source.kamelet.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml index 853e05bb..1e952363 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/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: