jakubmalek commented on issue #1358:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1358#issuecomment-1240364765

   I run simple test with overridden 
[kamelets/azure-eventhubs-source.kamelet.yaml](https://github.com/apache/camel-kafka-connector/blob/main/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml)
 file in the classpath.
   I've removed this section:
   ```yaml
    - marshal:
         json: {}
   ```
   
   It worked as expected, the byte array event data from Event Hub was passed 
to connector "as it is", and it was put in same format to Kafka topic with 
`org.apache.kafka.connect.converters.ByteArrayConverter`.
   
   My suggestion is to remove pre-configured marshalling configuration from 
connector kamelet files and allow option to configure them e.g. 
`camel.source.marshal: json-jackson`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to