kafka-python v0.9.4 Release Notes
Release Date: 2015-06-11 // almost 9 years ago-
Consumers
- ๐จ Refactor SimpleConsumer internal fetch handling (dpkp PR 399)
- Handle exceptions in SimpleConsumer commit() and reset_partition_offset() (dpkp PR 404)
- ๐ Improve FailedPayloadsError handling in KafkaConsumer (dpkp PR 398)
- KafkaConsumer: avoid raising KeyError in task_done (dpkp PR 389)
- ๐ง MultiProcessConsumer -- support configured partitions list (dpkp PR 380)
- ๐ Fix SimpleConsumer leadership change handling (dpkp PR 393)
- ๐ Fix SimpleConsumer connection error handling (reAsOn2010 PR 392)
- ๐ Improve Consumer handling of 'falsy' partition values (wting PR 342)
- ๐ Fix _offsets call error in KafkaConsumer (hellais PR 376)
- ๐ Fix str/bytes bug in KafkaConsumer (dpkp PR 365)
- Register atexit handlers for consumer and producer thread/multiprocess cleanup (dpkp PR 360)
- Always fetch commit offsets in base consumer unless group is None (dpkp PR 356)
- Stop consumer threads on delete (dpkp PR 357)
- Deprecate metadata_broker_list in favor of bootstrap_servers in KafkaConsumer (dpkp PR 340)
- ๐ Support pass-through parameters in multiprocess consumer (scrapinghub PR 336)
- ๐ Enable offset commit on SimpleConsumer.seek (ecanzonieri PR 350)
- ๐ Improve multiprocess consumer partition distribution (scrapinghub PR 335)
- Ignore messages with offset less than requested (wkiser PR 328)
- ๐ Handle OffsetOutOfRange in SimpleConsumer (ecanzonieri PR 296)
Producers
- โ Add Murmur2Partitioner (dpkp PR 378)
- ๐ฒ Log error types in SimpleProducer and SimpleConsumer (dpkp PR 405)
- SimpleProducer support configuration of fail_on_error (dpkp PR 396)
- ๐ Deprecate KeyedProducer.send() (dpkp PR 379)
- Further improvements to async producer code (dpkp PR 388)
- โ Add more configuration parameters for async producer (dpkp)
- ๐ Deprecate SimpleProducer batch_send=True in favor of async (dpkp)
- ๐ Improve async producer error handling and retry logic (vshlapakov PR 331)
- ๐ Support message keys in async producer (vshlapakov PR 329)
- ๐ Use threading instead of multiprocessing for Async Producer (vshlapakov PR 330)
- Stop threads on del (chmduquesne PR 324)
- ๐ Fix leadership failover handling in KeyedProducer (dpkp PR 314)
KafkaClient
- โ Add .topics property for list of known topics (dpkp)
- ๐ Fix request / response order guarantee bug in KafkaClient (dpkp PR 403)
- Improve KafkaClient handling of connection failures in _get_conn (dpkp)
- ๐ Client clears local metadata cache before updating from server (dpkp PR 367)
- ๐ KafkaClient should return a response or error for each request - enable better retry handling (dpkp PR 366)
- ๐ Improve str/bytes conversion in KafkaClient and KafkaConsumer (dpkp PR 332)
- Always return sorted partition ids in client.get_partition_ids_for_topic() (dpkp PR 315)
๐ Documentation
- ๐ Cleanup Usage Documentation
- ๐ Improve KafkaConsumer documentation (dpkp PR 341)
- ๐ Update consumer documentation (sontek PR 317)
- โ Add doc configuration for tox (sontek PR 316)
- Switch to .rst doc format (sontek PR 321)
- ๐ Fixup google groups link in README (sontek PR 320)
- ๐ Automate documentation at kafka-python.readthedocs.org
Internals
- โ Switch integration testing from 0.8.2.0 to 0.8.2.1 (dpkp PR 402)
- ๐ Fix most flaky tests, improve debug logging, improve fixture handling (dpkp)
- ๐ General style cleanups (dpkp PR 394)
- ๐ฐ Raise error on duplicate topic-partition payloads in protocol grouping (dpkp)
- ๐ Use module-level loggers instead of simply 'kafka' (dpkp)
- Remove pkg_resources check for version at runtime (dpkp PR 387)
- ๐ Make external API consistently support python3 strings for topic (kecaps PR 361)
- ๐ Fix correlation id overflow (dpkp PR 355)
- Cleanup kafka/common structs (dpkp PR 338)
- Use context managers in gzip_encode / gzip_decode (dpkp PR 337)
- ๐พ Save failed request as FailedPayloadsError attribute (jobevers PR 302)
- โ Remove unused kafka.queue (mumrah)