dberardo commented on issue #1082:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1082#issuecomment-790537294


   sorry for the confusion then.
   
   actually i mean doing something really simple. I want to achieve 3 things 
with the transformers:
   
   1 - add a static key to the message, to identify the Bot where it comes from 
(i will use many bots sourcing in one topic)
   2 - add a static field in the JSON payload (something like 
"custom-field":123)
   3 - transform the payload JSON structure to extract some of the fields in a 
higher hierarchy level (like chat.id becomes chat_id)
   
   these are pretty common transformations i would say, thus i thought of using 
InsertField, ValueToKey, and ExtractField transformers from confluence: 
https://docs.confluent.io/platform/current/connect/transforms/insertfield.html


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to