kafka-python v1.2.0 Release Notes

Release Date: 2016-05-24 // almost 8 years ago
  • ๐Ÿš€ This release officially adds support for Kafka 0.10

    • โž• Add protocol support for ApiVersionRequest (dpkp PR 678)
    • KAFKA-3025: Message v1 -- add timetamp and relative offsets (dpkp PR 693)
    • ๐Ÿ‘‰ Use Fetch/Produce API v2 for brokers >= 0.10 (uses message format v1) (dpkp PR 694)
    • ๐Ÿ‘‰ Use standard LZ4 framing for v1 messages / kafka 0.10 (dpkp PR 695)

    Consumers

    • โšก๏ธ Update SimpleConsumer / legacy protocol to handle compressed messages (paulcavallaro PR 684)

    Producers

    • KAFKA-3388: Fix expiration of batches sitting in the accumulator (dpkp PR 699)
    • KAFKA-3197: when max.in.flight.request.per.connection = 1, attempt to guarantee ordering (dpkp PR 698)
    • Don't use soon-to-be-reserved keyword await as function name (FutureProduceResult) (dpkp PR 697)

    Clients

    • ๐Ÿ›  Fix socket leaks in KafkaClient (dpkp PR 696)

    ๐Ÿ“š Documentation

    Internals

    • ๐Ÿ‘Œ Support SSL CRL [requires python 2.7.9+ / 3.4+] (vincentbernat PR 683)
    • ๐Ÿ‘‰ Use original hostname for SSL checks (vincentbernat PR 682)
    • Always pass encoded message bytes to MessageSet.encode()
    • Raise ValueError on protocol encode/decode errors
    • ๐Ÿ‘ป Supplement socket.gaierror exception in BrokerConnection.connect() (erikbeebe PR 687)
    • BrokerConnection check_version: expect 0.9 to fail with CorrelationIdError
    • ๐Ÿ›  Fix small bug in Sensor (zackdever PR 679)