You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Is possible to send kafka headers from feeder in this plugin?
Need something like this: .exec(kafka("my-topic").send[String,String]("{ \"kafka\": \"message\"", session => session("headers")))
Activity
3alster commentedon Feb 6, 2023
It's possible to set a header from a session parameter like this
partheebanMani commentedon Jun 14, 2023
@3alster I tried as suggested in Java, but I am getting error as header is in string , expected is 'Header' format
3alster commentedon Jul 6, 2023
Hi @partheebanMani, that's because you mixed up the types, just use RecordHeaders type instead of the Session for the headers variable.