v0.2
This version breaks ABI compatibility, so make sure to rebuild your code after updating. Eventually I hope we can commit to not breaking the ABI but that will probably be after release 1.0.
Fixes
- Miscellaneous Windows build fixes.
- Don't allow constructing a Bufferwith a null payload and a size > 0 (#88)
- Make BufferedProducerthread safe (#72)
- Log error in case consumer destruction throws (#61)
- Stop using deprecated rdkafka function rd_kafka_errno2err(#47)
- Explicitly destroy callbacks on Consumerupon object destruction (#39)
- Various build system fixes
New features
- Allow using a timeout on BufferedProducer::flushandBufferedProducer::wait_for_acks(#86)
- Add pause/resume on Producer(#87)
- Check per topic/partition errors on API calls that return topic partition handle lists (#90)
- Allow forcing to use an rdkafka static library archive (#94)
- Several BufferedProducerenhancements and fixes that make it more reliable (#78, #79, #91)
- Added round robin poller (#63)
- Prevent throwing exception on rdkafka callbacks (#74)
- Allow Metadataobjects to be non-owning (#73)
- Allow pausing/resuming consumption on a whole topic (#67)
- Add wrapper for rd_kafka_yield(#64)
- Move tests to use Catch2 rather than googletest (#56)
- Include a top level cppkafka.hheader file (#59)
- Allow disabling build of tests (#51)
- Add Consumer::poll_batch
- Add BackoffPerformerclass
- Add ConsumerDispatcherclass.
Thanks to everyone who contributed to this version, especially @accelerated who wrote a major part of the code in this release.