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/03/12 06:14:24 UTC
(camel-kamelets) 04/09: Support topicIsPattern as Kafka Source Kamelets parameter - Kafka Azure Source Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1939-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a02402f07c7536756f2945f5a62595973487b445
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 12 06:58:16 2024 +0100
Support topicIsPattern as Kafka Source Kamelets parameter - Kafka Azure Source Kamelet
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/kafka-azure-schema-registry-source.kamelet.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/kamelets/kafka-azure-schema-registry-source.kamelet.yaml b/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
index 2ef84353..47ecfe9f 100644
--- a/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
+++ b/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
@@ -125,6 +125,11 @@ spec:
description: The Specific Type Avro will have to deal with
type: string
example: "com.example.Order"
+ topicIsPattern:
+ title: Topic Is Pattern
+ description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
+ type: boolean
+ default: false
dependencies:
- "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0"
- "camel:kafka"
@@ -155,6 +160,7 @@ spec:
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
valueDeserializer: "{{valueDeserializer}}"
+ topicIsPattern: "{{topicIsPattern}}"
additionalProperties.schema.registry.url: "{{azureRegistryUrl}}"
additionalProperties.schema.group: avro
additionalProperties.schema.registry.credential: '#bean:defaultAzureCredential'