You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/02/02 13:21:38 UTC
(camel-kamelets) 04/10: Kafka Batch Azure Source: Expose also maxPollIntervalMs option
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 a68cfc0dcba6f37091b6218e371f98466bcdd111
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 2 14:13:07 2024 +0100
Kafka Batch Azure Source: Expose also maxPollIntervalMs option
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
index a83ad6ed..82d21574 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
@@ -135,6 +135,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"
@@ -169,6 +173,7 @@ spec:
valueDeserializer: "{{valueDeserializer}}"
maxPollRecords: "{{batchSize}}"
pollTimeoutMs: "{{pollTimeout}}"
+ maxPollIntervalMs: "{{?maxPollIntervalMs}}"
batching: true
kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
additionalProperties.schema.registry.url: "{{azureRegistryUrl}}"