Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warnings | Dana Powers | 2016-01-12 | 3 | -0/+15 | |
| | | | | | | | | and KafkaConnection | |||||
* | | Sleep in KafkaConsumer iterator if no partition assignment; dont block in ↵iterator_fetches | Dana Powers | 2016-01-12 | 1 | -4/+25 | |
| | | | | | | | | poll if no in-flight fetches | |||||
* | | Move consumer_timeout handling to private method | Dana Powers | 2016-01-12 | 1 | -5/+7 | |
| | | ||||||
* | | Attempt to pipeline fetchrequests in iterator | Dana Powers | 2016-01-12 | 1 | -1/+2 | |
| | | ||||||
* | | Use private deque to track in-flight fetchrequests | Dana Powers | 2016-01-12 | 1 | -0/+16 | |
| | | ||||||
* | | Update docstring and comments in _create_fetch_requests re KAFKA-2978 | Dana Powers | 2016-01-10 | 1 | -5/+2 | |
| | | ||||||
* | | Reorganize init_fetches calls during iteration | Dana Powers | 2016-01-10 | 2 | -7/+20 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | Check for assignment changes before yielding new record | Dana Powers | 2016-01-10 | 1 | -0/+9 | |
| | | ||||||
* | | Fetcher logging should be debug or trace (left higher during testing) | Dana Powers | 2016-01-10 | 2 | -9/+12 | |
|/ | ||||||
* | Pass consumer timeout to client.poll() in iterator; check timeout before ↵idle_sleep | Dana Powers | 2016-01-10 | 1 | -1/+4 | |
| | | | | iterating fetcher | |||||
* | Fix sec / millisec unit bug in KafkaConsumer._poll_once() | Dana Powers | 2016-01-10 | 1 | -1/+1 | |
| | ||||||
* | Fix delayed_task timeout commit 45d26b6 | Dana Powers | 2016-01-10 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #502 from dpkp/task_poll_timeout | Dana Powers | 2016-01-10 | 1 | -8/+8 | |
|\ | | | | | Add delayed task timeouts to _poll calls | |||||
| * | Improve KafkaConsumer iterator loop timeoutstask_poll_timeout | Dana Powers | 2016-01-10 | 1 | -8/+8 | |
| | | | | | | | | | | | | - Consider all delayed tasks, not just heartbeat - Include metadata update timeout - Fix second / millisecond bug calling client.poll() | |||||
* | | Fix debug logging call in PR 500 | Dana Powers | 2016-01-10 | 1 | -1/+1 | |
|/ | ||||||
* | Remove old kafka.consumer.kafka module | Dana Powers | 2016-01-10 | 1 | -771/+0 | |
| | ||||||
* | KAFKA-2978: consumer stops fetching when consumed and fetch positions get ↵ | Dana Powers | 2016-01-10 | 3 | -73/+51 | |
| | | | | out of sync | |||||
* | Add error checking to mark_for_reassignment | Dana Powers | 2016-01-10 | 1 | -0/+3 | |
| | ||||||
* | Fix KafkaClient->SimpleClient references0.9 | Dana Powers | 2016-01-07 | 4 | -5/+5 | |
| | ||||||
* | Docstring updates | Dana Powers | 2016-01-07 | 1 | -129/+127 | |
| | ||||||
* | Import queue from six.moves | Dana Powers | 2016-01-03 | 2 | -8/+3 | |
| | ||||||
* | Switch to new KafkaConsumer in module imports | Dana Powers | 2016-01-03 | 1 | -1/+1 | |
| | ||||||
* | Add deprecated methods to KafkaConsumer w/ notes on alternatives | Dana Powers | 2016-01-03 | 1 | -0/+31 | |
| | ||||||
* | Disable pylint error on __iter__ (next is provided via six.Iterator) | Dana Powers | 2016-01-03 | 2 | -2/+2 | |
| | ||||||
* | Keep support for old largest/smallest auto_offset_reset options | Dana Powers | 2016-01-03 | 1 | -0/+7 | |
| | ||||||
* | Return empty dict from KafkaConsumer.poll if no records | Dana Powers | 2016-01-03 | 1 | -1/+1 | |
| | ||||||
* | Support consumer_timeout_ms in new KafkaConsumer | Dana Powers | 2016-01-03 | 1 | -2/+17 | |
| | ||||||
* | Add api_version config to KafkaConsumer; disable features inline by version | Dana Powers | 2016-01-03 | 1 | -11/+36 | |
| | ||||||
* | Raise exception in KafkaConsumer on unrecognized kwargs | Dana Powers | 2016-01-02 | 1 | -1/+4 | |
| | ||||||
* | Batched message methods now return dict of lists | Dana Powers | 2016-01-02 | 2 | -4/+4 | |
| | ||||||
* | Improve iterator interface | Dana Powers | 2016-01-02 | 2 | -12/+44 | |
| | | | | | | | | - 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. | |||||
* | Disable pylint errors for py2/py3 compatibility workarounds | Dana Powers | 2016-01-01 | 2 | -2/+3 | |
| | ||||||
* | Remove some unused bits from kafka.consumer.group | Dana Powers | 2015-12-31 | 1 | -5/+0 | |
| | ||||||
* | Improve request pipelining in consumer iterator | Dana Powers | 2015-12-31 | 2 | -13/+28 | |
| | ||||||
* | Support message decompression | Dana Powers | 2015-12-31 | 1 | -19/+15 | |
| | ||||||
* | Support simple message iteration in Fetcher and new KafkaConsumer | Dana Powers | 2015-12-30 | 2 | -0/+71 | |
| | ||||||
* | Prefer assert or more-specific error to IllegalState / IllegalArgument | Dana Powers | 2015-12-30 | 3 | -25/+14 | |
| | ||||||
* | More Docstring Improvements | Dana Powers | 2015-12-30 | 3 | -62/+194 | |
| | ||||||
* | Drop unused KafkaConsumer._ensure_not_closed method | Dana Powers | 2015-12-30 | 1 | -4/+0 | |
| | ||||||
* | Make group_id a Coordinator kwarg (not arg) for consistency | Dana Powers | 2015-12-30 | 1 | -1/+1 | |
| | ||||||
* | Switch configs from attributes to dict to make passing / inspecting easier | Dana Powers | 2015-12-29 | 2 | -79/+76 | |
| | ||||||
* | Log as INFO: group join, leader election, partition assignments | Dana Powers | 2015-12-29 | 1 | -0/+1 | |
| | ||||||
* | Improve various docstrings | Dana Powers | 2015-12-29 | 1 | -3/+10 | |
| | ||||||
* | Make add_assigned_partition private(ish) in SubscriptionState | Dana Powers | 2015-12-29 | 1 | -3/+3 | |
| | ||||||
* | Pass auto commit parameters from KafkaConsumer to ConsumerCoordinator | Dana Powers | 2015-12-29 | 1 | -0/+2 | |
| | ||||||
* | Fix broken SubscriptionState.is_assigned call | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | ||||||
* | kafka.consumer.group.KafkaConsumer: 0.9 coordinator-aware consumer | Dana Powers | 2015-12-28 | 1 | -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 | |||||
* | Define ConsumerRebalanceListener abstract class | Dana Powers | 2015-12-28 | 1 | -0/+84 | |
| | ||||||
* | New class: kafka.consumer.fetcher.Fetcher | Dana Powers | 2015-12-28 | 1 | -0/+523 | |
| | | | | | - manages fetch requests via async client and subscription_state - based on upstream java client | |||||
* | New class SubscriptionState, based on upstream Java client | Dana Powers | 2015-12-28 | 1 | -0/+304 | |
| |