http-connector-for-apache-kafka icon indicating copy to clipboard operation
http-connector-for-apache-kafka copied to clipboard

key of event in the HTTP request

Open raphaelauv opened this issue 3 years ago • 2 comments

Hello I would like to propagate the kafka event key in the HTTP request , is there any way ? Thanks

raphaelauv avatar May 31 '22 08:05 raphaelauv

Hi Unfortunately, no, it's currently not implemented.

ivanyu avatar May 31 '22 09:05 ivanyu

@raphaelauv maybe a combination of transforms may get you there -- though not sure the default ones are enough thou.

e.g. you may use ExtractField + Cast to get your key in shape to be inserted in to the field. To add key into the value is not supported by InsertField IIUC (maybe an improvement to add on the default transforms? or a new transform to propose here?)

jeqo avatar Jul 05 '23 08:07 jeqo