Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | KafkaClient should try/except ConnnectionError when calling _get_conn | Dana Powers | 2015-06-06 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Small hanging indent style nits in some producer integration tests | Dana Powers | 2015-06-06 | 1 | -4/+8 | |
| | | | | ||||||
* | | | | Sleep for 500ms before retrying consumer pending call in tests | Dana Powers | 2015-06-06 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | test_batched_simple_producer__triggers_by_message should wait for producer ↵ | Dana Powers | 2015-06-06 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | queue to drain before testing messages were sent | |||||
* | | | | Include message number in sent message value in _send_random_message | Dana Powers | 2015-06-06 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | add option to check for at-least-once message delivery in failover tests | Dana Powers | 2015-06-06 | 1 | -6/+12 | |
| | | | | ||||||
* | | | | Reenable test_switch_leader_async | Dana Powers | 2015-06-06 | 1 | -7/+13 | |
| | | | | ||||||
* | | | | FailedPayloadsError now only has a single payload; use .payload attribute | Dana Powers | 2015-06-06 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | .failed_payloads attribute has been removed. | |||||
* | | | | random_string helper should return str not bytes | Dana Powers | 2015-06-06 | 4 | -17/+16 | |
| | | | | ||||||
* | | | | Raise an error if we attempt to group duplicate topic-partition payloads | Dana Powers | 2015-06-06 | 3 | -1/+10 | |
| | | | | | | | | | | | | | | | | - previously this would simply drop one of the payloads | |||||
* | | | | Module loggers in test/fixtures and test/service | Dana Powers | 2015-06-06 | 2 | -27/+35 | |
| | | | | ||||||
* | | | | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 9 | -9/+17 | |
| |_|/ |/| | | ||||||
* | | | Fix import error in kafka/producer/base.py | Dana Powers | 2015-06-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #387 from dpkp/no_runtime_version_check | Dana Powers | 2015-06-04 | 5 | -8/+5 | |
|\ \ \ | | | | | | | | | Dont get __version__ from pkg_resources | |||||
| * | | | Set __version__ string in kafka/version.py | Dana Powers | 2015-06-04 | 5 | -8/+5 | |
|/ / / | ||||||
* | | | Merge pull request #331 from vshlapakov/feature-producer-retries | Dana Powers | 2015-06-04 | 6 | -29/+296 | |
|\ \ \ | |_|/ |/| | | Async producer retries for failed messages | |||||
| * | | Check response.error for async producer | Viktor Shlapakov | 2015-06-03 | 3 | -21/+27 | |
| | | | ||||||
| * | | Async producer: py2.6 backward compatibility fix | Viktor Shlapakov | 2015-06-03 | 1 | -2/+2 | |
| | | | ||||||
| * | | Improve async producer code: logic and style fixes | Viktor Shlapakov | 2015-06-03 | 5 | -76/+75 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - send_producer_request with fail_on_error=False to retry failed reqs only - using an internal dict with with namedtuple keys for retry counters - refresh metadata on refresh_error irrespective to retries options - removed infinite retries (retry_options.limit=None) as an over-feature - separate producer init args for retries options (limit,backoff,on_timeouts) - AsyncProducerQueueFull returns a list of failed messages - producer tests improved thanks to @rogaha and @toli | |||||
| * | | Increase producer test timeout | Viktor Shlapakov | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Change backoff message log level | Viktor Shlapakov | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix async producer queue put arguments | Viktor Shlapakov | 2015-06-03 | 1 | -2/+4 | |
| | | | ||||||
| * | | Fix names for async retries opts, add timeout for put | Viktor Shlapakov | 2015-06-03 | 4 | -20/+34 | |
| | | | ||||||
| * | | Simplification of retry logic | Viktor Shlapakov | 2015-06-03 | 2 | -31/+29 | |
| | | | ||||||
| * | | Fix small issues with names/tests | Viktor Shlapakov | 2015-06-03 | 3 | -16/+16 | |
| | | | ||||||
| * | | async queue: refactored code; add one more test | Eduard Iskandarov | 2015-06-03 | 2 | -4/+23 | |
| | | | ||||||
| * | | add producer send batch queue overfilled test | Искандаров Эдуард | 2015-06-03 | 2 | -2/+24 | |
| | | | ||||||
| * | | Disable retry on timeouts by default (old behaviour) | Viktor Shlapakov | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Clean and simplify retry logic | Viktor Shlapakov | 2015-06-03 | 3 | -63/+54 | |
| | | | ||||||
| * | | Arg fixes for base/keyed producers | Viktor Shlapakov | 2015-06-03 | 2 | -4/+2 | |
| | | | ||||||
| * | | Improved retry logic | Viktor Shlapakov | 2015-06-03 | 5 | -34/+76 | |
| | | | ||||||
| * | | Fixed tests and other issues after rebase | Viktor Shlapakov | 2015-06-03 | 3 | -32/+20 | |
| | | | ||||||
| * | | 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 | 2 | -15/+16 | |
| | | | ||||||
| * | | Producer _send_upstream fixes, added tests for retries | Viktor Shlapakov | 2015-06-03 | 2 | -6/+157 | |
| | | | ||||||
| * | | Fixed base producer imports | Viktor Shlapakov | 2015-06-03 | 1 | -1/+2 | |
| | | | ||||||
| * | | Retries for async batching | Viktor Shlapakov | 2015-06-03 | 4 | -15/+50 | |
|/ / | ||||||
* | | Merge pull request #342 from wting/fix_consumer_falsiness | Dana Powers | 2015-05-17 | 1 | -4/+4 | |
|\ \ | |/ |/| | | | Remove Consumer falsiness. | |||||
| * | Check vs None directly. | William Ting | 2015-05-17 | 1 | -4/+4 | |
|/ | ||||||
* | Merge pull request #376 from hellais/fix/offset | Dana Powers | 2015-05-14 | 1 | -1/+1 | |
|\ | | | | | Fix calling of _offsets | |||||
| * | 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. |