Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Improved retry logic | Viktor Shlapakov | 2015-06-03 | 4 | -31/+73 | |
| | | | ||||||
* | | | Fixed tests and other issues after rebase | Viktor Shlapakov | 2015-06-03 | 2 | -2/+1 | |
| | | | ||||||
* | | | Returned default behaviour with no retries | Viktor Shlapakov | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix: check failed reqs to retry only for positive limit | Viktor Shlapakov | 2015-06-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Fixed compatible issues with tests | Viktor Shlapakov | 2015-06-03 | 1 | -3/+5 | |
| | | | ||||||
* | | | Producer _send_upstream fixes, added tests for retries | Viktor Shlapakov | 2015-06-03 | 1 | -6/+20 | |
| | | | ||||||
* | | | Fixed base producer imports | Viktor Shlapakov | 2015-06-03 | 1 | -1/+2 | |
| | | | ||||||
* | | | Retries for async batching | Viktor Shlapakov | 2015-06-03 | 4 | -15/+50 | |
| |/ |/| | ||||||
* | | 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' ``` | |||||
* | Merge pull request #367 from dpkp/clean_metadata_refresh | Dana Powers | 2015-04-12 | 1 | -13/+14 | |
|\ | | | | | Clear local metadata cache before refresh in client.load_metadata_for_topics() | |||||
| * | Update debug log messages in client.load_metadata_for_topics | Dana Powers | 2015-04-12 | 1 | -2/+2 | |
| | | ||||||
| * | clean local metadata before requesting refresh in load_metadata_for_topics() | Dana Powers | 2015-04-12 | 1 | -2/+7 | |
| | | ||||||
| * | Simplify client.reset_topic_metadata | Dana Powers | 2015-04-12 | 1 | -9/+5 | |
| | | ||||||
* | | Merge pull request #366 from dpkp/failed_payloads | Dana Powers | 2015-04-12 | 1 | -79/+77 | |
|\ \ | |/ |/| | Refactor client request/response handling to support better retries | |||||
| * | Improve send_produce_request docstring | Dana Powers | 2015-04-06 | 1 | -6/+17 | |
| | | ||||||
| * | Add debug logging for all broker-aware requests/responses | Dana Powers | 2015-04-06 | 1 | -0/+3 | |
| | | ||||||
| * | Refactor KafkaClient._send_broker_aware_request to return a list of responses | Dana Powers | 2015-04-06 | 1 | -73/+57 | |
| | | | | | | | | | | | | and include individual (unraised) FailedPayloadsError instances rather than always raising a FailedPayloadsError. This should allow producers to determine which payloads succeeded and which failed, specifically. | |||||
* | | 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 | 2 | -4/+51 | |
|\ | | | | | Register atexit handlers for consumer and producer thread/multiprocess cleanup | |||||
| * | Register atexit handlers for consumer and producer thread/multiprocess ↵ | Dana Powers | 2015-03-31 | 2 | -4/+51 | |
| | | | | | | | | cleanup (not __del__) | |||||
* | | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 5 | -4/+17 | |
|/ | ||||||
* | Merge pull request #356 from dpkp/always_fetch_offsets | Dana Powers | 2015-03-30 | 3 | -12/+30 | |
|\ | | | | | fetch commit offsets in base consumer unless group is None | |||||
| * | 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 #355 from dpkp/correlation_id_modulo | Dana Powers | 2015-03-30 | 1 | -7/+7 | |
|\ \ | |/ |/| | correlation_id modulo | |||||
| * | Rollover KafkaClient correlation ids at 2**31 to keep within int32 protocol ↵ | Dana Powers | 2015-03-29 | 1 | -7/+7 | |
| | | | | | | | | encoding | |||||
* | | 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 | |
| | | | ||||||
| * | | 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). | |||||
* | | | Merge pull request #350 from ecanzonieri/enable_commit_on_seek | Dana Powers | 2015-03-29 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Enable commit on seek | |||||
| * | | | 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 #338 from dpkp/structs_reorg | Dana Powers | 2015-03-29 | 1 | -23/+26 | |
|\ \ \ | | | | | | | | | Fixup indentation in kafka/common.py; add links to protocol definitions | |||||
| * | | | Fixup indentation in kafka/common.py; add links to protocol definitions | Dana Powers | 2015-03-08 | 1 | -23/+26 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #337 from dpkp/gzip_context | Dana Powers | 2015-03-29 | 1 | -23/+32 | |
|\ \ \ | | | | | | | | | Use context managers in gzip_encode / gzip_decode | |||||
| * | | | Take the linter to kafka/codec.py | Dana Powers | 2015-03-09 | 1 | -11/+10 | |
| | | | | ||||||
| * | | | Gzip context manager not supported in py2.6, so use try/finally instead | Dana Powers | 2015-03-09 | 1 | -2/+17 | |
| | | | | ||||||
| * | | | Use context managers in gzip_encode / gzip_decode | Dana Powers | 2015-03-08 | 1 | -12/+7 | |
| |/ / |