userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.45k stars 289 forks source link

Kafka producer headers not supported? #703

Open SkatoriDev opened 2 months ago

SkatoriDev commented 2 months ago

It seems that there is either no support for headers or I just can't figure out how to send them. Underlying rd_kafka_producev does not utilize *_HEADER(S) macros Can you please either provide an example of sending message with headers or tell about plans to add the support for them? If there are none in near future, I might make a pr

fdr400 commented 1 month ago

Our internal services do not use headers, though there was no need for them yet. We thought about their support, but not in near future. So, we are glad to look at your PR!