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 2023/05/24 13:28:54 UTC
[camel-kamelets] 09/12: Bean: Use properties instead of property with key and value - Kafka not secured source
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1475-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 447453e6bb860577ac40003288d7bab5d7dfaea1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:22:52 2023 +0200
Bean: Use properties instead of property with key and value - Kafka not secured source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/kafka-not-secured-source.kamelet.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/kamelets/kafka-not-secured-source.kamelet.yaml b/kamelets/kafka-not-secured-source.kamelet.yaml
index 3579cffa..f78807c2 100644
--- a/kamelets/kafka-not-secured-source.kamelet.yaml
+++ b/kamelets/kafka-not-secured-source.kamelet.yaml
@@ -102,9 +102,8 @@ spec:
beans:
- name: kafkaHeaderDeserializer
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
- property:
- - key: enabled
- value: '{{deserializeHeaders}}'
+ properties:
+ enabled: '{{deserializeHeaders}}'
from:
uri: "kafka:{{topic}}"
parameters: