summaryrefslogtreecommitdiff
path: root/kafka/consumer/group.py
Commit message (Collapse)AuthorAgeFilesLines
* Add RangePartitionAssignor (and use as default); add assignor testsrange_assignorDana Powers2016-02-161-2/+4
|
* KAFKA-3044: Re-word consumer.poll behaviourDana Powers2016-02-151-3/+4
|
* Issue 545: Convert deserializer StopIteration errors to raw ExceptionsDana Powers2016-02-151-1/+1
|
* Fix Typos (Issue 536)Dana Powers2016-02-151-1/+1
|
* KAFKA-3191: Improve offset committing docstringsDana Powers2016-02-021-2/+6
|
* a few extra AssertionError messages in KafkaConsumerDana Powers2016-02-021-2/+2
|
* KAFKA-3170: default consumer config for fetch_min_bytes should be 1Dana Powers2016-02-021-2/+2
|
* Add more assertions in KafkaConsumer (primarily to seek* methods)Dana Powers2016-02-011-3/+28
|
* Be sure to get all metadata when subscribing to a regex pattern.Dana Powers2016-02-011-12/+19
|
* Implement KafkaConsumer.topics()Dana Powers2016-02-011-7/+14
| | | | | - add ClusterMetadata.need_all_topic_metadata attribute - client requests metadata for all topics if attribute True
* Add KafkaConsumer.highwater(partition) to get highwater offsets from ↵Dana Powers2016-01-311-0/+22
| | | | FetchResponses
* Fix internal timeout / sleep handling in consumer iteratoriterator_timeoutDana Powers2016-01-291-15/+16
|
* Disable offset commits and auto-partition-assignment when group_id is NoneDana Powers2016-01-241-20/+28
|
* Sleep in KafkaConsumer iterator if no partition assignment; dont block in ↵iterator_fetchesDana Powers2016-01-121-4/+25
| | | | poll if no in-flight fetches
* Move consumer_timeout handling to private methodDana Powers2016-01-121-5/+7
|
* Reorganize init_fetches calls during iterationDana Powers2016-01-101-2/+3
| | | | | | | Generally should not init_fetches while the generator has pending messages; this revision adds an explicit check / noop to the public interface, and uses a private method internally to attempt to pipeline fetch requests.
* Fetcher logging should be debug or trace (left higher during testing)Dana Powers2016-01-101-0/+1
|
* Pass consumer timeout to client.poll() in iterator; check timeout before ↵idle_sleepDana Powers2016-01-101-1/+4
| | | | iterating fetcher
* Fix sec / millisec unit bug in KafkaConsumer._poll_once()Dana Powers2016-01-101-1/+1
|
* Fix delayed_task timeout commit 45d26b6Dana Powers2016-01-101-1/+1
|
* Improve KafkaConsumer iterator loop timeoutstask_poll_timeoutDana Powers2016-01-101-8/+8
| | | | | | - Consider all delayed tasks, not just heartbeat - Include metadata update timeout - Fix second / millisecond bug calling client.poll()
* KAFKA-2978: consumer stops fetching when consumed and fetch positions get ↵Dana Powers2016-01-101-2/+2
| | | | out of sync
* Docstring updatesDana Powers2016-01-071-129/+127
|
* Add deprecated methods to KafkaConsumer w/ notes on alternativesDana Powers2016-01-031-0/+31
|
* Disable pylint error on __iter__ (next is provided via six.Iterator)Dana Powers2016-01-031-1/+1
|
* Keep support for old largest/smallest auto_offset_reset optionsDana Powers2016-01-031-0/+7
|
* Return empty dict from KafkaConsumer.poll if no recordsDana Powers2016-01-031-1/+1
|
* Support consumer_timeout_ms in new KafkaConsumerDana Powers2016-01-031-2/+17
|
* Add api_version config to KafkaConsumer; disable features inline by versionDana Powers2016-01-031-11/+36
|
* Raise exception in KafkaConsumer on unrecognized kwargsDana Powers2016-01-021-1/+4
|
* Batched message methods now return dict of listsDana Powers2016-01-021-2/+2
|
* Improve iterator interfaceDana Powers2016-01-021-6/+22
| | | | | | | | - Support single message consumption via next(consumer) in py2/py3 - batch message methods (Fetcher.fetched_records / KafkaConsumer.poll) are incompatible with iterators -- message generator state keeps messages internally after they are popped from _records, but before subscription_state is updated.
* Remove some unused bits from kafka.consumer.groupDana Powers2015-12-311-5/+0
|
* Improve request pipelining in consumer iteratorDana Powers2015-12-311-0/+3
|
* Support simple message iteration in Fetcher and new KafkaConsumerDana Powers2015-12-301-0/+22
|
* Prefer assert or more-specific error to IllegalState / IllegalArgumentDana Powers2015-12-301-6/+4
|
* More Docstring ImprovementsDana Powers2015-12-301-1/+9
|
* Drop unused KafkaConsumer._ensure_not_closed methodDana Powers2015-12-301-4/+0
|
* Make group_id a Coordinator kwarg (not arg) for consistencyDana Powers2015-12-301-1/+1
|
* Switch configs from attributes to dict to make passing / inspecting easierDana Powers2015-12-291-54/+51
|
* Pass auto commit parameters from KafkaConsumer to ConsumerCoordinatorDana Powers2015-12-291-0/+2
|
* Fix broken SubscriptionState.is_assigned callDana Powers2015-12-291-1/+1
|
* kafka.consumer.group.KafkaConsumer: 0.9 coordinator-aware consumerDana Powers2015-12-281-797/+480
| | | | | | | - use ConsumerCoordinator to manage group membership - dynamically assign partitions via group using topic subscription - use upstream configuration parameters as __init__ kwargs - metrics and SSL are still TODO
* pylint fixesDana Powers2015-12-101-0/+1
| | | | | | - temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead
* Drop kafka_bytestringDana Powers2015-12-101-8/+7
|
* Unfinished kafka.consumer.group commitDana Powers2015-12-041-0/+883