Skip to content

v0.2

Compare
Choose a tag to compare
@mfontanini mfontanini released this 21 Sep 01:25
· 208 commits to master since this release

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 Buffer with a null payload and a size > 0 (#88)
  • Make BufferedProducer thread safe (#72)
  • Log error in case consumer destruction throws (#61)
  • Stop using deprecated rdkafka function rd_kafka_errno2err (#47)
  • Explicitly destroy callbacks on Consumer upon object destruction (#39)
  • Various build system fixes

New features

  • Allow using a timeout on BufferedProducer::flush and BufferedProducer::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 BufferedProducer enhancements and fixes that make it more reliable (#78, #79, #91)
  • Added round robin poller (#63)
  • Prevent throwing exception on rdkafka callbacks (#74)
  • Allow Metadata objects 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.h header file (#59)
  • Allow disabling build of tests (#51)
  • Add Consumer::poll_batch
  • Add BackoffPerformer class
  • Add ConsumerDispatcher class.

Thanks to everyone who contributed to this version, especially @accelerated who wrote a major part of the code in this release.