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)