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
assertinBufferedProducer(#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
Buffers via raw arrays (#140) and (#147). - Added flush/produce termination callbacks in
BufferedProducer(#148). - Allow constructing
Buffers viastd::array(#138 and #142). - Added support for
rd_kafka_conf_set_eventsandrd_kafka_message_status(#134). - Added support for
rdkafkaevents (#125). - Allow using
std::chrono::time_pointas a timestamp inMessageBuilder(#128). - Allow using allocators in
Consumer::poll_batch(#118).