Andrea Cosentino

Results 366 comments of Andrea Cosentino

With 0.8.0 or 0.7.0 and with camel-jackson in the classpath of the connector try: ``` name=CamelTelegramSourceConnector connector.class=org.apache.camel.kafkaconnector.telegram.CamelTelegramSourceConnector tasks.max=1 key.converter=org.apache.kafka.connect.storage.StringConverter value.converter=org.apache.kafka.connect.converters.ByteArrayConverter camel.source.marshal=json-jackson topics=topic_name camel.source.endpoint.authorizationToken= camel.source.path.type=bots ``` The output will be ```...

0.8.0 has camel-jackson out of the box in the dependency and same for 0.7.2.

The documentation about dataformat needs to be improved. You're welcome to help.

Let us know if all works for you.

The only documentation for camel-kafka-connector is https://camel.apache.org/camel-kafka-connector/latest/ You landed on pages related to plain camel. Camel is the main project, ckc is a subproject based on camel components, but it's...

The marshalling is happening before the ByteArray converter, so you can use a transformer after the marshaller, but you have to deal with the format after that, which should be...

Can you please add some more information about what your transformer should do? Because it may be possible I'm didn't understand what you want achieve.

I guess you'll need to write a transform with all these three step. By the way, you can call the transform after the marshalling, yes.

Yes, my only doubt is the format you'll get after the marshalling phase. Maybe you'll need to convert the stream to string. But I'm not completely sure, I should try....

The chain is one possibilty. Personally I don't like the chaining, but since the transforms are already there it makes sense