Support Questions

Find answers, ask questions, and share your expertise

Http Sink: Obtain topic name , offset and partition in remote end-point.

avatar
New Contributor

Hello All

I am configuring an http sink to obtain messages and transfer them to a remote end-point via a POST request. I am able to successfully receive the Kafka record. But, is there a way to receive "metadata" (topic name, Partition Number and Offset) along with the record ?

a) as an example, if my remote url is setup as http://api.mycompany.com/${topic}/${key}/${offset}, will the connector substitute these values ?

b) Can topic, Partition and offset be exposed as http headers, while making the POST call to remote end-point ?

Thanks

 

0 REPLIES 0