github aio-libs/aiokafka v0.6.0
Stability and usage improvements

latest releases: v0.12.0, v0.11.0, v0.10.0...
4 years ago

New features:

  • Add async context manager support for both Producer and Consumer. (pr #613 and #494 by @nimish)
  • Upgrade to kafka-python version 2.0.0 and set it as non-strict
    parameter. (issue #590 by @yumendy and #558 by @originalgremlin)
  • Make loop argument optional (issue #544)
  • SCRAM-SHA-256 and SCRAM-SHA-512 support for SASL authentication (issue #571 and pr #588 by @SukiCZ)
  • Added headers param to AIOKafkaProducer.send_and_wait (pr #553 by @megabotan)
  • Add consumer.last_poll_timestamp(partition) which gives the ms timestamp of the last
    update of highwater and lso. (issue #523 and pr #526 by @aure-olli)
  • Change all code base to async-await (pr #522)
  • Minor: added PR and ISSUE templates to GitHub

Bugfixes:

  • Ignore debug package generation on bdist_rpm command. (issue #599 by @gabriel-tincu)
  • UnknownMemberId was raised to the user instead of retrying on auto commit. (issue #611)
  • Fix issue with messages not being read after subscriptions change with group_id=None. (issue #536)
  • Handle RequestTimedOutError in coordinator._do_commit_offsets() method to explicitly mark
    coordinator as dead. (issue #584 and pr #585 by @FedirAlifirenko)
  • Added handling asyncio.TimeoutError on metadata request to broker and metadata update.
    (issue #576 and pr #577 by @MichalMazurek)
  • Too many reqs on kafka not available (issue #496 by @lud4ik)
  • Consumer.seek_to_committed now returns mapping of committed offsets (pr #531 by @ask)
  • Message Accumulator: add_message being recursive eventually overflows (pr #530 by @ask)

Improved Documentation:

Don't miss a new aiokafka release

NewReleases is sending notifications on new releases.