kafka-python v1.4.4 Release Notes

Release Date: 2018-11-20 // over 5 years ago
  • ๐Ÿ›  Bugfixes

    • (Attempt to) Fix deadlock between consumer and heartbeat (zhgjun / dpkp #1628)
    • ๐Ÿ›  Fix Metrics dict memory leak (kishorenc #1569)

    Client

    • ๐Ÿ‘Œ Support Kafka record headers (hnousiainen #1574)
    • โฑ Set socket timeout for the write-side of wake socketpair (Fleurer #1577)
    • โž• Add kerberos domain name config for gssapi sasl mechanism handshake (the-sea #1542)
    • ๐Ÿ‘Œ Support smaller topic metadata fetch during bootstrap (andyxning #1541)
    • โฑ Use TypeError for invalid timeout type (jeffwidman #1636)
    • ๐Ÿ“Š Break poll if closed (dpkp)

    Admin Client

    • โž• Add KafkaAdminClient class (llamahunter #1540)
    • Fix list_consumer_groups() to query all brokers (jeffwidman #1635)
    • Stop using broker-errors for client-side problems (jeffwidman #1639)
    • ๐Ÿ›  Fix send to controller (jeffwidman #1640)
    • โž• Add group coordinator lookup (jeffwidman #1641)
    • ๐Ÿ›  Fix describe_groups (jeffwidman #1642)
    • Add list_consumer_group_offsets() (jeffwidman #1643)
    • โœ‚ Remove support for api versions as strings from KafkaAdminClient (jeffwidman #1644)
    • Set a clear default value for validate_only/include_synonyms (jeffwidman #1645)
    • Bugfix: Always set this_groups_coordinator_id (jeffwidman #1650)

    Consumer

    • ๐Ÿ›  Fix linter warning on import of ConsumerRebalanceListener (ben-harack #1591)
    • โœ‚ Remove ConsumerTimeout (emord #1587)
    • Return future from commit_offsets_async() (ekimekim #1560)

    Core / Protocol

    • โž• Add protocol structs for {Describe,Create,Delete} Acls (ulrikjohansson #1646/partial)
    • Pre-compile pack/unpack function calls (billyevans / jeffwidman #1619)
    • Don't use kafka.common internally (jeffwidman #1509)
    • Be explicit with tuples for %s formatting (jeffwidman #1634)

    ๐Ÿ“š Documentation

    • Document connections_max_idle_ms (jeffwidman #1531)
    • ๐Ÿ›  Fix sphinx url (jeffwidman #1610)
    • โšก๏ธ Update remote urls: snappy, https, etc (jeffwidman #1603)
    • โœ… Minor cleanup of testing doc (jeffwidman #1613)
    • ๐Ÿ“„ Various docstring / pep8 / code hygiene cleanups (jeffwidman #1647)

    โœ… Test Infrastructure

    • ๐Ÿ‘• Stop pinning pylint (jeffwidman #1611)
    • โœ… (partial) Migrate from Unittest to pytest (jeffwidman #1620)
    • โœ… Minor aesthetic cleanup of partitioner tests (jeffwidman #1618)
    • Cleanup fixture imports (jeffwidman #1616)
    • ๐Ÿ›  Fix typo in test file name (jeffwidman)
    • โœ‚ Remove unused ivy_root variable (jeffwidman)
    • โž• Add test fixtures for kafka versions 1.0.2 -> 2.0.1 (dpkp)
    • โฌ†๏ธ Bump travis test for 1.x brokers to 1.1.1 (dpkp)

    ๐ŸŒฒ Logging / Error Messages

    • ๐Ÿšฆ raising logging level on messages signalling data loss (sibiryakov #1553)
    • ๐Ÿ—„ Stop using deprecated log.warn() (jeffwidman #1615)
    • ๐Ÿ›  Fix typo in logging message (jeffwidman)

    Compatibility

    • Vendor enum34 (jeffwidman #1604)
    • โฌ†๏ธ Bump vendored six to 1.11.0 (jeffwidman #1602)
    • Vendor six consistently (jeffwidman #1605)
    • ๐Ÿ‘• Prevent pylint import errors on six.moves (jeffwidman #1609)