Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for `zstd` compression (#2021) | Tincu Gabriel | 2020-09-07 | 1 | -10/+10 |
| | |||||
* | Cleanup handling of KAFKA_VERSION env var in tests (#1887) | Jeff Widman | 2019-08-22 | 1 | -5/+5 |
| | | | | | | | | | | | | | Now that we are using `pytest`, there is no need for a custom decorator because we can use `pytest.mark.skipif()`. This makes the code significantly simpler. In particular, dropping the custom `@kafka_versions()` decorator is necessary because it uses `func.wraps()` which doesn't play nice with `pytest` fixtures: - https://github.com/pytest-dev/pytest/issues/677 - https://stackoverflow.com/a/19614807/770425 So this is a pre-requisite to migrating some of those tests to using pytest fixtures. | ||||
* | Use test.fixtures.version not test.conftest.version to avoid warnings (#1731) | Dana Powers | 2019-03-06 | 1 | -2/+1 |
| | |||||
* | Be explicit with tuples for %s formatting | Jeff Widman | 2018-11-18 | 1 | -1/+1 |
| | | | | Fix #1633 | ||||
* | Cleanup fixture imports | Jeff Widman | 2018-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | `random_string` now comes from `test.fixtures` and was being transparently imported via `test.testutil` so this bypasses the pointless indirect import. Similarly, `kafka_version` was transparently imported by `test.testutil` from `test.fixtures`. Also removed `random_port()` in `test.testutil` because its unused as its been replaced by the one in `test.fixtures`. This is part of the pytest migration that was started back in a1869c4be5f47b4f6433610249aaf29af4ec95e5. | ||||
* | Support produce with Kafka record headers | Heikki Nousiainen | 2018-09-27 | 1 | -1/+9 |
| | |||||
* | Close KafkaConsumer instances during tests (#1410) | Dana Powers | 2018-03-08 | 1 | -1/+1 |
| | |||||
* | Increase some integration test timeouts (#1374) | Dana Powers | 2018-02-08 | 1 | -3/+3 |
| | |||||
* | Minor test cleanups (#1343) | Dana Powers | 2018-01-12 | 1 | -0/+1 |
| | |||||
* | Add DefaultRecordBatch implementation aka V2 message format parser/builder. ↵ | Taras Voinarovskyi | 2017-10-25 | 1 | -5/+4 |
| | | | | | (#1185) Added bytecode optimization for varint and append/read_msg functions. Mostly based on avoiding LOAD_GLOBAL calls. | ||||
* | Fix timestamp not passed to RecordMetadata (#1273) | Taras Voinarovskyi | 2017-10-22 | 1 | -2/+52 |
| | | | | | | | | * Fix timestamp not being passed to RecordMetadata properly * Add more tests for LegacyBatch * Fix producer test for recordmetadata | ||||
* | Use fixture hostname (dont assume localhost) | Dana Powers | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | Alter test skips: python-lz4 works on python26, but not pypy | Dana Powers | 2017-03-14 | 1 | -2/+2 |
| | |||||
* | Fix typos | Jeff Widman | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Use weakref when registering a producer.close atexit to fix normal gc (#728) | Dana Powers | 2016-06-18 | 1 | -0/+14 |
| | | | | * Use weakref when registering a producer.close atexit to fix normal gc * Test that del(producer) terminates async thread | ||||
* | Reduce end-to-end test to 100 messages; raise produce future exceptions ↵ | Dana Powers | 2016-03-13 | 1 | -5/+9 |
| | | | | immediately | ||||
* | Add SimpleBufferPool test to verify reallocated buffers are empty | Dana Powers | 2016-03-13 | 1 | -0/+13 |
| | |||||
* | Use producer retries and flush timeout in producer end-to-end test | Dana Powers | 2016-03-13 | 1 | -1/+2 |
| | |||||
* | Handle broken LZ4 framing; switch to lz4tools + xxhashlz4_fixup | Dana Powers | 2016-01-26 | 1 | -3/+9 |
| | |||||
* | Add end-to-end integration testing for all compression types | Dana Powers | 2016-01-26 | 1 | -1/+8 |
| | |||||
* | Disable auto-commit / group assignment in producer testgroup_id_none | Dana Powers | 2016-01-24 | 1 | -0/+1 |
| | |||||
* | Add simple KafkaProducer -> KafkaConsumer integration test | Dana Powers | 2016-01-24 | 1 | -0/+34 |
| | |||||
* | Rename legacy producer tests | Dana Powers | 2016-01-24 | 1 | -257/+0 |
| | |||||
* | Merge branch '0.9' | Dana Powers | 2016-01-07 | 1 | -25/+18 |
|\ | | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py | ||||
| * | Fix KafkaClient->SimpleClient references0.9 | Dana Powers | 2016-01-07 | 1 | -5/+5 |
| | | |||||
| * | Import queue from six.moves | Dana Powers | 2016-01-03 | 1 | -10/+3 |
| | | |||||
| * | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 1 | -5/+5 |
| | | |||||
| * | Update references to kafka.common Request/Response (now Payload) | Dana Powers | 2015-12-09 | 1 | -5/+5 |
| | | |||||
* | | Mock client.ensure_topic_exists in test_producer_sync_fail_on_errorproducer_new_topic | Dana Powers | 2015-12-17 | 1 | -10/+11 |
|/ | |||||
* | Cleanup new producer tests...async_producer_connect_errors | Dana Powers | 2015-12-04 | 1 | -6/+6 |
| | |||||
* | Merge pull request #435 from docker-hub/fix-producer-cleanup-logic | Dana Powers | 2015-12-02 | 1 | -0/+14 |
|\ | | | | | Reworked the if statement logic to only call stop() on not-stopped producer objects | ||||
| * | Fixing https://github.com/mumrah/kafka-python/issues/434 | toli | 2015-07-24 | 1 | -0/+14 |
| | | | | | | | | | | Reworked the if statement logic to only call stop() on not-stopped objects. added tests | ||||
* | | Producer test fix for python3 | Viktor Shlapakov | 2015-06-17 | 1 | -1/+1 |
| | | |||||
* | | Add basic keyed producer tests | Viktor Shlapakov | 2015-06-17 | 1 | -2/+22 |
|/ | |||||
* | Support sync_fail_on_error kwarg in Producer | Dana Powers | 2015-06-09 | 1 | -2/+18 |
| | |||||
* | Add Unit test for async producer leader change; return ProduceResponse on ↵ | Dana Powers | 2015-06-09 | 1 | -10/+56 |
| | | | | success | ||||
* | Deprecate async producer batch_send kwarg -- use 'async' instead | Dana Powers | 2015-06-06 | 1 | -17/+0 |
| | |||||
* | FailedPayloadsError now only has a single payload; use .payload attribute | Dana Powers | 2015-06-06 | 1 | -2/+2 |
| | | | | .failed_payloads attribute has been removed. | ||||
* | Check response.error for async producer | Viktor Shlapakov | 2015-06-03 | 1 | -2/+2 |
| | |||||
* | Improve async producer code: logic and style fixes | Viktor Shlapakov | 2015-06-03 | 1 | -33/+20 |
| | | | | | | | | | | - 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 |
| | |||||
* | Fix small issues with names/tests | Viktor Shlapakov | 2015-06-03 | 1 | -7/+5 |
| | |||||
* | async queue: refactored code; add one more test | Eduard Iskandarov | 2015-06-03 | 1 | -2/+16 |
| | |||||
* | add producer send batch queue overfilled test | Искандаров Эдуард | 2015-06-03 | 1 | -1/+17 |
| | |||||
* | Clean and simplify retry logic | Viktor Shlapakov | 2015-06-03 | 1 | -3/+5 |
| | |||||
* | Improved retry logic | Viktor Shlapakov | 2015-06-03 | 1 | -3/+3 |
| | |||||
* | Fixed tests and other issues after rebase | Viktor Shlapakov | 2015-06-03 | 1 | -30/+19 |
| | |||||
* | Fixed compatible issues with tests | Viktor Shlapakov | 2015-06-03 | 1 | -12/+11 |
| | |||||
* | Producer _send_upstream fixes, added tests for retries | Viktor Shlapakov | 2015-06-03 | 1 | -0/+137 |
| | |||||
* | Just encode to bytes if it isn't bytes. | John Anderson | 2015-01-24 | 1 | -6/+10 |
| |