You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/04 16:02:02 UTC

[GitHub] [camel-kafka-connector] oscerd edited a comment on issue #410: IMPROVEMENT REQUEST: Add a transformer mode to the connectors to make lightweight edits to the messages while they are being produced/consumed

oscerd edited a comment on issue #410:
URL: https://github.com/apache/camel-kafka-connector/issues/410#issuecomment-687239225


   Hello,
   
   1. Basically you'll need to build the connector and you'll get a new package.zip
   - in the connector configuration you want to use
   
   ```
   transforms=S3ObjectTransformer
   transforms.S3ObjectTransformer.type=org.apache.camel.kafkaconnector.transforms.S3ObjectTransformer
   ```
   Where you point your new transformation class.
   
   for example. In this way you'll use the transformation you implemented in the extended connector.
   
   2. You can do a unit test like this class: CamelTypeConverterTransformTest in camel-kafka-connector repo


----------------------------------------------------------------
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.

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