v0.3.0 release
This version breaks ABI compatibility, so make sure to rebuild your code after updating. As usual, thanks to all contributors!
Fixes
- Fixed windows compilation warnings (#157).
- Avoid re-ordering messages on produce failure in
BufferedProducer
(#153). - Use
CMAKE_STATIC_LIBRARY_*
macros for FindRdKafka (#156). - Don't leak messages in
BufferedProducer::flush(timeout)
(#150). - Don't set log level to error in consumer/producer constructors (#136).
- Fix windows linker errors (#120).
- Don't use
assert
inBufferedProducer
(#116).
New features
- Added message header support (#115). Thanks @accelerated for the effort put into this one in particular!
- Added queue full notification in
BufferedProducer
(#149). - Allow constructing
Buffer
s via raw arrays (#140) and (#147). - Added flush/produce termination callbacks in
BufferedProducer
(#148). - Allow constructing
Buffer
s viastd::array
(#138 and #142). - Added support for
rd_kafka_conf_set_events
andrd_kafka_message_status
(#134). - Added support for
rdkafka
events (#125). - Allow using
std::chrono::time_point
as a timestamp inMessageBuilder
(#128). - Allow using allocators in
Consumer::poll_batch
(#118).