camel-kafka-connector
camel-kafka-connector copied to clipboard
Possible to use Kafka keys and headers in db inserts?
All of the examples for db sinks are like:
INSERT INTO accounts (username,city) VALUES (:#username,:#city)
where the username and city are key names in the json message from the kafka.
Is it possible to insert the kafka key or a kafka header (which is also json)?