camel-kafka-connector icon indicating copy to clipboard operation
camel-kafka-connector copied to clipboard

Possible to use Kafka keys and headers in db inserts?

Open reidmeyer opened this issue 8 months ago • 2 comments

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)?

reidmeyer avatar Jun 21 '24 13:06 reidmeyer