Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix _mp_consume queue variable name conflict | Dana Powers | 2015-12-09 | 1 | -2/+2 |
| | |||||
* | Merge pull request #426 from ucarion/ucarion-kafkaconsumer-close | Dana Powers | 2015-12-06 | 1 | -0/+4 |
|\ | | | | | Add KafkaConsumer#close | ||||
| * | Add KafkaConsumer#close | Ulysse Carion | 2015-07-07 | 1 | -0/+4 |
| | | |||||
* | | new pylint disables for pylint 1.5.1 | Zack Dever | 2015-12-02 | 2 | -2/+2 |
| | | | | | | | | | | tested locally with `pylint --rcfile=pylint.rc -E kafka test`. should pass travis builds. | ||||
* | | Fix python3 / python2 comments re queue/Queue | Dana Powers | 2015-12-02 | 2 | -10/+10 |
| | | |||||
* | | Merge pull request #457 from saaros/block-for-number-of-messages | Dana Powers | 2015-12-02 | 2 | -11/+18 |
|\ \ | | | | | | | Consumers get_messages: allow blocking until some messages are received | ||||
| * | | Consumers get_messages: allow blocking until some messages are received | Oskari Saarenmaa | 2015-09-18 | 2 | -11/+18 |
| |/ | | | | | | | | | | | | | | | | | Modified MultiProcessConsumer's and SimpleConsumer's `block` argument to allow integer value which defines the number of messages to block for. This allows callers to ask for a high number of messages and block only until some of them are received. Otherwise callers would have to request messages one by one or block for some time. | ||||
* | | Merge pull request #446 from zackdever/consumer-class-configs | Dana Powers | 2015-12-02 | 1 | -2/+3 |
|\ \ | | | | | | | Set default config on consumer class to support subclass config changes. | ||||
| * | | set default config on consumer class to support subclass config changes. | Zack Dever | 2015-08-13 | 1 | -2/+3 |
| |/ | |||||
* | | Merge pull request #456 from barricadeio/mp-retry | Dana Powers | 2015-12-02 | 2 | -46/+59 |
|\ \ | | | | | | | Support retry semantics in MultiProcessConsumer | ||||
| * | | Support retry semantics in MultiProcessConsumer | Ross Duggan | 2015-09-14 | 2 | -46/+59 |
| |/ | |||||
* | | allow to retrieve partition info in mp consumer | Martin Olveyra | 2015-06-29 | 3 | -8/+10 |
|/ | |||||
* | Merge pull request #412 from haosdent/seek_absolute_offset | Dana Powers | 2015-06-20 | 1 | -17/+46 |
|\ | | | | | fix #410 SimpleConsumer cannot seek to an absolute offset. | ||||
| * | fix #410 SimpleConsumer cannot seek to an absolute offset. | haosdent | 2015-06-20 | 1 | -17/+46 |
| | | |||||
* | | Lower logging level on replica not available and commit | Enrico Canzonieri | 2015-06-19 | 1 | -1/+1 |
|/ | |||||
* | Refactor SimpleConsumer get_messages and _fetch | Dana Powers | 2015-06-10 | 1 | -29/+33 |
| | | | | | - attempt to make these easier to read - add marginal retry logic to internal _fetch loop | ||||
* | Merge pull request #405 from dpkp/log_error_type | Dana Powers | 2015-06-10 | 1 | -5/+8 |
|\ | | | | | Log response error types in consumer and producer logs | ||||
| * | Add error type to SimpleConsumer error logging | Dana Powers | 2015-06-10 | 1 | -5/+8 |
| | | |||||
* | | Change SimpleConsumer.reset_partition_offset to return offset / None on ↵ | Dana Powers | 2015-06-10 | 1 | -5/+19 |
| | | | | | | | | failure (dont raise exception) | ||||
* | | Change Consumer commit() to return True/False and log error; dont raise ↵ | Dana Powers | 2015-06-10 | 1 | -12/+18 |
|/ | | | | client exceptions | ||||
* | KafkaConsumer style nits | Dana Powers | 2015-06-08 | 1 | -26/+48 |
| | |||||
* | Update KafkaConsumer to handle request-specific FailedPayloadsErrors | Dana Powers | 2015-06-08 | 1 | -11/+13 |
| | |||||
* | Cleanup imports in kafka/client and kafka/consumer | Dana Powers | 2015-06-08 | 2 | -22/+20 |
| | |||||
* | Merge pull request #389 from dpkp/task_done_key_error | Dana Powers | 2015-06-08 | 1 | -2/+10 |
|\ | | | | | KafkaConsumer.task_done: warn and skip unrecognized topic-partitions | ||||
| * | KafkaConsumer.task_done - warn and skip messages from unrecognized ↵ | Dana Powers | 2015-06-06 | 1 | -2/+10 |
| | | | | | | | | topic-partitions | ||||
* | | SimpleConsumer should refresh metadata and retry on leadership changes; only ↵ | Dana Powers | 2015-06-08 | 1 | -1/+4 |
| | | | | | | | | raise on UnknownTopicOrPartition | ||||
* | | Merge pull request #380 from dpkp/multiprocess_consumer_partitions | Dana Powers | 2015-06-08 | 1 | -3/+7 |
|\ \ | | | | | | | Support optional partitions kwarg in MultiProcessConsumer | ||||
| * | | Support optional partitions kwarg in MultiProcessConsumer | Dana Powers | 2015-05-17 | 1 | -3/+7 |
| |/ | |||||
* | | try to fix uncaught FailedPayloadsError | reAsOn2010 | 2015-06-09 | 1 | -1/+8 |
| | | |||||
* | | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 3 | -3/+8 |
|/ | |||||
* | Check vs None directly. | William Ting | 2015-05-17 | 1 | -4/+4 |
| | |||||
* | Fix calling of _offsets | Arturo Filastò | 2015-05-14 | 1 | -1/+1 |
| | | | | | | | | Previously you would see this error: ``` self.offsets._fetch[(topic, partition)], AttributeError: 'function' object has no attribute '_fetch' ``` | ||||
* | Use kafka_bytestring when decoding message topics in ↵ | Dana Powers | 2015-04-04 | 1 | -18/+22 |
| | | | | KafkaConsumer.fetch_messages | ||||
* | Use list comprehension on _topics in KafkaConsumer.fetch_messages | Dana Powers | 2015-04-04 | 1 | -8/+8 |
| | |||||
* | call _consume_topic_partition() before storing offset | Dana Powers | 2015-04-04 | 1 | -1/+1 |
| | | | | in KafkaConsumer.set_topic_partitions((topic, partition, offset)) | ||||
* | Fix python3 str/bytes bug in KafkaConsumer.set_topic_partitions({(topic, ↵ | Dana Powers | 2015-04-04 | 1 | -1/+1 |
| | | | | partition): offset, }) | ||||
* | Merge pull request #360 from dpkp/atexit_cleanup | Dana Powers | 2015-04-04 | 1 | -3/+25 |
|\ | | | | | Register atexit handlers for consumer and producer thread/multiprocess cleanup | ||||
| * | Register atexit handlers for consumer and producer thread/multiprocess ↵ | Dana Powers | 2015-03-31 | 1 | -3/+25 |
| | | | | | | | | cleanup (not __del__) | ||||
* | | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 2 | -4/+4 |
|/ | |||||
* | Bulk fetch offset partitions in base consumer -- suggested by ecanzonieri | Dana Powers | 2015-03-30 | 1 | -8/+9 |
| | |||||
* | Fetch previously committed offsets in base consumer class so long as | Dana Powers | 2015-03-30 | 3 | -12/+29 |
| | | | | | | | | a group is configured (but document that group must be None for old servers). This fixes multiprocessor consumer issue that prevented access to commit offsets if auto_commit is disabled. Also refactor fetch_last_known_offsets based on KafkaConsumer While still setting unknown offsets to 0 | ||||
* | Merge pull request #357 from dpkp/del_consumer_stop | Dana Powers | 2015-03-30 | 1 | -0/+3 |
|\ | | | | | Stop consumers on delete | ||||
| * | Stop consumers on delete | Dana Powers | 2015-03-30 | 1 | -0/+3 |
| | | |||||
* | | 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 |
| | | |