kafka-python v1.1.0 Release Notes

Release Date: 2016-04-25 // about 8 years ago
  • Consumers

    • Avoid resending FetchRequests that are pending on internal queue
    • ๐ŸŒฒ Log debug messages when skipping fetched messages due to offset checks
    • ๐Ÿ‘ป KAFKA-3013: Include topic-partition in exception for expired batches
    • ๐ŸŒฒ KAFKA-3318: clean up consumer logging and error messages
    • ๐Ÿ‘Œ Improve unknown coordinator error handling
    • ๐Ÿ‘Œ Improve auto-commit error handling when group_id is None
    • โž• Add paused() API (zackdever PR 602)
    • Add default_offset_commit_callback to KafkaConsumer DEFAULT_CONFIGS

    Producers

    Clients

    • ๐Ÿ‘Œ Support SSL connections
    • ๐Ÿ‘‰ Use selectors module for non-blocking IO
    • ๐Ÿ”จ Refactor KafkaClient connection management
    • Fix AttributeError in del
    • SimpleClient: catch errors thrown by _get_leader_for_partition (zackdever PR 606)

    ๐Ÿ“š Documentation

    • ๐Ÿ›  Fix serializer/deserializer examples in README
    • โšก๏ธ Update max.block.ms docstring
    • โœ‚ Remove errant next(consumer) from consumer documentation
    • โž• Add producer.flush() to usage docs

    Internals

    • โž• Add initial metrics implementation (zackdever PR 637)
    • KAFKA-2136: support Fetch and Produce v1 (throttle_time_ms)
    • ๐Ÿ‘‰ Use version-indexed lists for request/response protocol structs (dpkp PR 630)
    • Split kafka.common into kafka.structs and kafka.errors
    • ๐Ÿ– Handle partial socket send() (dpkp PR 611)
    • ๐Ÿ›  Fix windows support (dpkp PR 603)
    • ๐Ÿ‘ IPv6 support (TimEvens PR 615; Roguelazer PR 642)