stream-reactor icon indicating copy to clipboard operation
stream-reactor copied to clipboard

Redis sink connector ignoring key payload only take value payload

Open mojari opened this issue 6 years ago • 3 comments

mojari avatar Jun 05 '18 15:06 mojari

None of our connectors support extracting values from the message key.

contributions are welcome.

stheppi avatar Jun 05 '18 15:06 stheppi

@mojari Please also provide details for any issues, not just a title.

andrewstevenson avatar Jun 05 '18 15:06 andrewstevenson

As kafka topic have two fields (key and value). Kafka has capability to send key and value. Both can have json data, but connector can only take as input the payload from value. It cann't take key payload . For Example our KCQL statement is like this: connect.redis.kcql= INSERT INTO TABLE select * from redis-topic1 PK profile,profile,interactionId ; here all the field will come from value part of kafka topic. Not taking any data from key part.

mojari avatar Jun 05 '18 15:06 mojari