kafka-python v2.0.2 Release Notes

Release Date: 2020-09-29 // over 3 years ago
  • 2.0.2 (Sep 29, 2020)

    Consumer

    • KIP-54: Implement sticky partition assignment strategy (aynroot / PR #2057)
    • ๐Ÿ›  Fix consumer deadlock when heartbeat thread request timeout (huangcuiyang / PR #2064)

    Compatibility

    • ๐Ÿ‘ Python 3.8 support (Photonios / PR #2088)

    Cleanups

    • โฌ†๏ธ Bump dev requirements (jeffwidman / PR #2129)
    • ๐Ÿ›  Fix crc32c deprecation warning (crc32c==2.1) (jeffwidman / PR #2128)
    • ๐Ÿ‘• Lint cleanup (jeffwidman / PR #2126)
    • ๐Ÿ›  Fix initialization order in KafkaClient (pecalleja / PR #2119)
    • ๐Ÿ‘ Allow installing crc32c via extras (mishas / PR #2069)
    • โœ‚ Remove unused imports (jameslamb / PR #2046)

    Admin Client

    • Merge _find_coordinator_id methods (jeffwidman / PR #2127)
    • ๐Ÿ”‹ Feature: delete consumergroups (swenzel / PR #2040)
    • ๐Ÿ‘ Allow configurable timeouts in admin client check version (sunnyakaxd / PR #2107)
    • โœจ Enhancement for Kafka Admin Client's "Describe Consumer Group" (Apurva007 / PR #2035)

    Protocol

    • โž• Add support for zstd compression (gabriel-tincu / PR #2021)
    • โž• Add protocol support for brokers 1.1.0 - 2.5.0 (gabriel-tincu / PR #2038)
    • โž• Add ProduceRequest/ProduceResponse v6/v7/v8 (gabriel-tincu / PR #2020)
    • ๐Ÿ›  Fix parsing NULL header values (kvfi / PR #2024)

    โœ… Tests

    • โž• Add 2.5.0 to automated CI tests (gabriel-tincu / PR #2038)
    • โž• Add 2.1.1 to build_integration (gabriel-tincu / PR #2019)

    ๐Ÿ“š Documentation / Logging / Errors

    • ๐ŸŒฒ Disable logging during producer object gc (gioele / PR #2043)
    • โšก๏ธ Update example.py; use threading instead of multiprocessing (Mostafa-Elmenbawy / PR #2081)
    • ๐Ÿ›  Fix typo in exception message (haracejacob / PR #2096)
    • โž• Add kafka.structs docstrings (Mostafa-Elmenbawy / PR #2080)
    • ๐Ÿ›  Fix broken compatibility page link (anuragrana / PR #2045)
    • ๐Ÿ“‡ Rename README to README.md (qhzxc0015 / PR #2055)
    • ๐Ÿ›  Fix docs by adding SASL mention (jeffwidman / #1990)

Previous changes from v2.0.1

  • Admin Client

    • KAFKA-8962: Use least_loaded_node() for AdminClient.describe_topics() (jeffwidman / PR #2000)
    • ๐Ÿ›  Fix AdminClient topic error parsing in MetadataResponse (jtribble / PR #1997)