Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fixup kafka consumer docstring | Dana Powers | 2015-03-29 | 1 | -1/+1 | |
| | | ||||||
* | | Improve KafkaConsumer docstrings | Dana Powers | 2015-03-29 | 1 | -134/+94 | |
|/ | ||||||
* | Merge pull request #340 from dpkp/deprecate_metadata_broker_list | Dana Powers | 2015-03-29 | 1 | -8/+26 | |
|\ | | | | | Deprecate metadata_broker_list in favor of bootstrap_servers | |||||
| * | Deprecate KafkaConsumer config metadata_broker_list in favor of ↵ | Dana Powers | 2015-03-23 | 1 | -8/+26 | |
| | | | | | | | | bootstrap_servers | |||||
* | | Merge pull request #336 from scrapinghub/feature-mp-consumer-params | Dana Powers | 2015-03-29 | 2 | -35/+51 | |
|\ \ | | | | | | | Using additional params for MP consumer child process | |||||
| * | | Manageable queue.put() operation for MPConsumer processes | Viktor Shlapakov | 2015-03-25 | 2 | -4/+12 | |
| | | | ||||||
| * | | Using mp.manager to solve the issue with join for MPConsumer | Viktor Shlapakov | 2015-03-24 | 1 | -6/+7 | |
| | | | ||||||
| * | | Moving to **kwargs for MPConsumer options | Viktor Shlapakov | 2015-03-24 | 1 | -1/+2 | |
| | | | ||||||
| * | | Moved additional MP consumer options to **kwargs | Viktor Shlapakov | 2015-03-13 | 1 | -3/+3 | |
| | | | ||||||
| * | | Using additional params for MP consumer child process | Viktor Shlapakov | 2015-03-13 | 1 | -26/+32 | |
| | | | | | | | | | | | | | | | | | | | | | - Moved the events params to a separate param for consistency - Passing additional params to internal SimpleConsumer worker for multiprocessing high-level consumer. It allows to use non-default consumer settings (fetch_size_bytes, buffer_size, max_buffer_size). | |||||
* | | | Increase count_since_commit on seek | Enrico Canzonieri | 2015-03-20 | 1 | -1/+1 | |
|/ / | | | | | | | | | | | When auto_commit is False this change enables an explicit call to commit() to actually commit the offsets. Otherwise a consumer won't be able to commit until at least one message is read. | |||||
* | | Merge pull request #335 from scrapinghub/fix-mp-consumer-distribution | Dana Powers | 2015-03-12 | 1 | -10/+12 | |
|\ \ | |/ |/| | Wrong partitions distribution logic for MP Consumer | |||||
| * | Used thread-safe dict.copy().keys() for MP consumer partitions | Viktor Shlapakov | 2015-03-12 | 1 | -1/+4 | |
| | | ||||||
| * | Cleaned code for MP consumer chunking | Viktor Shlapakov | 2015-03-11 | 1 | -10/+9 | |
| | | ||||||
| * | Fixing distribution for MP Consumer | Viktor Shlapakov | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #332 from dpkp/kafka_client_edits | Dana Powers | 2015-03-07 | 1 | -11/+2 | |
|\ \ | | | | | | | Kafka client edits | |||||
| * | | Remove KafkaConsumer.BYTES_CONFIGURATION_KEYS | Dana Powers | 2015-03-01 | 1 | -11/+2 | |
| |/ | | | | | | | | | | | - rely on KafkaClient to handle client_id string/bytes encoding - accept either string or bytes for group_id - convert group_id string to utf-8 bytes internally | |||||
* | | Merge pull request #328 from wkiser/validate_offset | Dana Powers | 2015-03-02 | 2 | -0/+8 | |
|\ \ | | | | | | | Fixes consumer/kafka and consumer/simple to only yield messages if the m... | |||||
| * | | Fixes consumer/kafka and consumer/simple to only yield messages if the ↵ | wkiser | 2015-03-02 | 2 | -0/+8 | |
| |/ | | | | | | | message's offset is greater than or equal to the consumer offset. | |||||
* | | Merge pull request #296 from ecanzonieri/validate_consumer_offset | Dana Powers | 2015-03-02 | 1 | -3/+54 | |
|\ \ | |/ |/| | Validate consumer offset in SimpleConsumer | |||||
| * | Retry failed partitions and add integration tests | Enrico Canzonieri | 2015-01-26 | 1 | -0/+2 | |
| | | ||||||
| * | Merge branch 'master' of github.com:mumrah/kafka-python into ↵ | Enrico Canzonieri | 2015-01-26 | 4 | -155/+194 | |
| |\ | | | | | | | | | | | | | | | | | | | validate_consumer_offset Conflicts: kafka/consumer/simple.py | |||||
| * | | Make SimpleConsumer auto_offset_reset more like KafkaConsumer | Enrico Canzonieri | 2015-01-26 | 1 | -4/+19 | |
| | | | ||||||
| * | | use a list in send_offset_request | Enrico Canzonieri | 2015-01-14 | 1 | -3/+4 | |
| | | | ||||||
| * | | Implement offsets reset when OffsetOutOfRangeError | Enrico Canzonieri | 2015-01-14 | 1 | -3/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This slightly changes the SimpleConsumer interface adding the default option use_latest_offsets. The fetch behaviour is also changed since it does not raise OffsetOutOfRangeError anymore. Resetting the offsets automatically is especially useful in MultiprocessConsumer, where an explicit seek call is not possible. | |||||
* | | | Updated documentation for Consumers to prefer KafkaConsumer instead | John Anderson | 2015-02-09 | 1 | -2/+5 | |
| |/ |/| | ||||||
* | | Add Sphinx API docs | Will Daly | 2015-01-15 | 4 | -152/+190 | |
|/ | ||||||
* | Add some jitter to refresh_leader_backoff_ms, per wizzat review | Dana Powers | 2014-12-15 | 1 | -1/+7 | |
| | ||||||
* | Simplify BYTES_CONFIGURATION_KEYS logic, per wizzat review | Dana Powers | 2014-12-15 | 1 | -2/+1 | |
| | ||||||
* | Fixup call to self._client.get_partition_ids_for_topic -- use encoded topic ↵ | Dana Powers | 2014-12-15 | 1 | -1/+1 | |
| | | | | bytes | |||||
* | Use kafka.util.kafka_bytestring to encode utf-8 when necessary | Dana Powers | 2014-12-15 | 1 | -15/+6 | |
| | ||||||
* | OffsetCommit metadata must be bytes | Dana Powers | 2014-12-15 | 1 | -1/+1 | |
| | ||||||
* | Add private methods _does_auto_commit_ms and _does_auto_commit_messages | Dana Powers | 2014-12-15 | 1 | -7/+22 | |
| | ||||||
* | Fix task_done checks when no previous commit exists; add test | Dana Powers | 2014-12-15 | 1 | -6/+5 | |
| | ||||||
* | Force absolue_imports in kafka/consumer/kafka.py | Dana Powers | 2014-12-15 | 1 | -0/+2 | |
| | ||||||
* | Move KafkaConsumer to kafka.consumer.kafka module; make available for import ↵ | Dana Powers | 2014-12-15 | 2 | -3/+4 | |
| | | | | from kafka at top-level | |||||
* | Use six for py3 support in KafkaConsumer | Dana Powers | 2014-12-15 | 1 | -13/+39 | |
| | | | | Log connection failures w/ traceback in kafka/client.py | |||||
* | Update docstrings w/ current interface / config defaults | Dana Powers | 2014-12-15 | 1 | -16/+21 | |
| | ||||||
* | Raise KafkaConfigurationError during fetch_messages if not topics/partitions ↵ | Dana Powers | 2014-12-15 | 1 | -1/+7 | |
| | | | | configured | |||||
* | Move auto-commit checks to task_done; add support for ↵ | Dana Powers | 2014-12-15 | 1 | -11/+27 | |
| | | | | auto_commit_interval_messages | |||||
* | Add private methods to manage internal _msg_iter | Dana Powers | 2014-12-15 | 1 | -10/+20 | |
| | ||||||
* | Reorder methods, add docstrings to public methds, section comments for ↵ | Dana Powers | 2014-12-15 | 1 | -207/+255 | |
| | | | | private methods | |||||
* | Use 4-space indents | Dana Powers | 2014-12-15 | 1 | -518/+517 | |
| | ||||||
* | Add docstring to get_partition_offsets; use request_time_ms and ↵ | Dana Powers | 2014-12-15 | 1 | -7/+25 | |
| | | | | max_num_offsets var names | |||||
* | Add docstring to configure() | Dana Powers | 2014-12-15 | 1 | -0/+21 | |
| | ||||||
* | raise KafkaConfigurationError in commit() if there is no configured ↵ | Dana Powers | 2014-12-15 | 1 | -1/+8 | |
| | | | | 'group_id'; add docstring | |||||
* | _should_auto_commit is private | Dana Powers | 2014-12-15 | 1 | -2/+2 | |
| | ||||||
* | Support setting offsets in set_topic_partitions(); reorganize offsets ↵ | Dana Powers | 2014-12-15 | 1 | -127/+151 | |
| | | | | initialization | |||||
* | _client is private var | Dana Powers | 2014-12-15 | 1 | -7/+11 | |
| | ||||||
* | Move kafka._msg_iter initialization from __init__() to next() | Dana Powers | 2014-12-15 | 1 | -6/+7 | |
| |