Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | 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 | 16 | -342/+381 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | Merge pull request #314 from dpkp/keyed_producer_failover | Dana Powers | 2015-02-19 | 4 | -8/+9 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Handle keyed producer failover | |||||
| * | | | | Always use the initial partition list when hashing keys in KeyedProducer | Dana Powers | 2015-02-09 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | make partitions arg optional in *Partitioner.partition, defaulting to ↵ | Dana Powers | 2015-02-09 | 3 | -7/+8 | |
| | | | | | | | | | | | | | | | | | | | | self.partitions from init | |||||
* | | | | | Merge pull request #317 from sontek/update_consumer_docs | Dana Powers | 2015-02-10 | 1 | -2/+5 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Updated documentation for Consumers to prefer KafkaConsumer instead | |||||
| * | | | | Updated documentation for Consumers to prefer KafkaConsumer instead | John Anderson | 2015-02-09 | 1 | -2/+5 | |
| | | | | | ||||||
* | | | | | Always return sorted partition ids in KafkaClient.get_partition_ids_for_topic() | Dana Powers | 2015-02-09 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | 2014 -> 2015 | David Arthur | 2015-02-03 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Removing queue.py | David Arthur | 2015-02-03 | 1 | -215/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's just collecting dust and throwing off the coverage report. I pushed a branch queue-fixup in case someone wants to take a stab at refactoring it. | |||||
* | | | | Fix python2.6 threading.Event bug in ReentrantTimer | Dana Powers | 2015-02-03 | 1 | -1/+5 | |
| | | | | ||||||
* | | | | Merge pull request #306 from sontek/catch_topic_not_bytes | Mark Roberts | 2015-02-02 | 1 | -1/+7 | |
|\ \ \ \ | | | | | | | | | | | Alert if the topic is not sent as bytes | |||||
| * | | | | Just encode to bytes if it isn't bytes. | John Anderson | 2015-01-24 | 1 | -2/+4 | |
| | | | | | ||||||
| * | | | | Alert if the topic is not sent as bytes | John Anderson | 2015-01-23 | 1 | -0/+4 | |
| | |/ / | |/| | | ||||||
* | | | | fix circle reference | zhaopengzp | 2015-02-02 | 1 | -0/+1 | |
|/ / / | ||||||
* | | | Merge pull request #282 from wedaly/sphinx-api-docs | Dana Powers | 2015-01-23 | 14 | -312/+357 | |
|\ \ \ | |_|/ |/| | | Add Sphinx API docs | |||||
| * | | Add Sphinx API docs | Will Daly | 2015-01-15 | 14 | -312/+357 | |
| |/ | ||||||
* | | Catch ReplicaNotAvailableError in MetadataResponse -- per kafka-devs, this ↵ | Dana Powers | 2015-01-14 | 1 | -1/+6 | |
| | | | | | | | | error can and should be ignored | |||||
* | | Merge pull request #289 from alexcb/broker-error-class-refactoring | Dana Powers | 2015-01-12 | 1 | -24/+12 | |
|\ \ | | | | | | | Use reflection to avoid multiple errno definitions | |||||
| * | | Use reflection to avoid multiple errno definitions | Alex Couture-Beil | 2015-01-10 | 1 | -24/+12 | |
| |/ | ||||||
* | | Merge pull request #286 from Dinoshauer/expose-KafkaConsumer-in-all | Dana Powers | 2015-01-12 | 1 | -1/+1 | |
|\ \ | | | | | | | KafkaConsumer should be in __all__. | |||||
| * | | KafkaConsumer should be in __all__. | Kasper Jacobsen | 2015-01-09 | 1 | -1/+1 | |
| |/ | ||||||
* | | Randomize start by default for SimpleProducer | Alex Couture-Beil | 2015-01-09 | 1 | -1/+1 | |
|/ | | | | | | | | random_start=False is dangerous. Any client that initializes a SimpleProducer and performs only a single publish batch will always go to partition 0. A common use-case for this is command line utilities, or web-servers which are unable to cache the SimpleProducer instance between calls. | |||||
* | Added keys to compressed messages (both gzip and snappy). | Eric Hewitt | 2015-01-02 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #234 from dpkp/high_level_consumer | Mark Roberts | 2014-12-16 | 6 | -5/+764 | |
|\ | | | | | A simpler kafka consumer | |||||
| * | 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 | 2 | -15/+18 | |
| | | ||||||
| * | 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 | 3 | -4/+5 | |
| | | | | | | | | from kafka at top-level | |||||
| * | Use six for py3 support in KafkaConsumer | Dana Powers | 2014-12-15 | 2 | -16/+42 | |
| | | | | | | | | 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 |