christophd commented on a change in pull request #842:
URL: https://github.com/apache/camel-kamelets/pull/842#discussion_r831293689



##########
File path: kamelets/kafka-source.kamelet.yaml
##########
@@ -134,4 +143,12 @@ spec:
         autoOffsetReset: "{{autoOffsetReset}}"
         groupId: "{{?consumerGroup}}"
       steps:
-      - to: "kamelet:sink"
+        - set-property:
+            name: deserializeHeaders
+            constant: "{{deserializeHeaders}}"
+        - choice:
+            when:
+              - simple: "${exchangeProperty.deserializeHeaders} == 'true'"
+                steps:
+                  - bean: 
"org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"

Review comment:
       @lburgazzoli have updated the Kamelet and processor. Is that what you 
have had in mind?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to