Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use test.fixtures.version not test.conftest.version to avoid warnings (#1731) | Dana Powers | 2019-03-06 | 1 | -2/+1 |
| | |||||
* | Migrate from `Unittest` to `pytest` (#1620) | Jeff Widman | 2018-11-10 | 1 | -9/+10 |
| | |||||
* | Cleanup fixture imports | Jeff Widman | 2018-10-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | `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. | ||||
* | Vendor `six` consistently | Jeff Widman | 2018-10-22 | 1 | -5/+5 |
| | | | | Use vendored `six`, and also `six.moves.range` rather than `xrange` | ||||
* | Add codec validators to record parser and builder for all formats (#1447) | Taras | 2018-04-18 | 1 | -1/+23 |
| | |||||
* | Fix skipped integration tests if KAFKA_VERSION unset (#1453) | Dana Powers | 2018-03-22 | 1 | -0/+3 |
| | |||||
* | Close KafkaConsumer instances during tests (#1410) | Dana Powers | 2018-03-08 | 1 | -0/+7 |
| | |||||
* | Introduce new fixtures to prepare for migration to pytest. | Andre Araujo | 2018-02-21 | 1 | -21/+24 |
| | | | | | | | This commits adds new pytest fixtures in prepation for the migration of unittest.TestCases to pytest test cases. The handling of temporary dir creation was also changed so that we can use the pytest tmpdir fixture after the migration. | ||||
* | Increase some integration test timeouts (#1374) | Dana Powers | 2018-02-08 | 1 | -4/+6 |
| | |||||
* | KAFKA-3888 Use background thread to process consumer heartbeats (#1266) | Dana Powers | 2017-12-21 | 1 | -1/+2 |
| | |||||
* | Refactor MessageSet and Message into LegacyRecordBatch to later support v2 ↵ | Taras | 2017-10-11 | 1 | -2/+4 |
| | | | | message format | ||||
* | remove beginning/end offsets request version limit | Liao Jiayi | 2017-09-04 | 1 | -6/+0 |
| | |||||
* | Added unit tests for fetcher's `_reset_offset` and related functions. | Taras Voinarovskiy | 2017-08-07 | 1 | -1/+1 |
| | |||||
* | Added `beginning_offsets` and `end_offsets` API's and fixed @jeffwidman ↵ | Taras Voinarovskiy | 2017-08-07 | 1 | -1/+46 |
| | | | | review issues | ||||
* | Changed retrieve_offsets to allow fetching multiple offsets at once | Taras Voinarovskiy | 2017-08-07 | 1 | -4/+41 |
| | |||||
* | Fix test for older brokers | Taras Voinarovskiy | 2017-08-07 | 1 | -2/+4 |
| | |||||
* | Added basic support for offsets_for_times API. Still needs to group by nodes ↵ | Taras Voinarovskiy | 2017-08-07 | 1 | -1/+45 |
| | | | | and send in parallel. | ||||
* | Fix typo | Jeff Widman | 2017-07-01 | 1 | -1/+1 |
| | |||||
* | Do not test fetched_size with fetch_max_bytes since 0.11 brokers will return ↵ | Dana Powers | 2017-06-18 | 1 | -3/+0 |
| | | | | more data than 0.10 | ||||
* | Increase max_buffer_size for test_large_messages | Dana Powers | 2017-06-18 | 1 | -2/+8 |
| | |||||
* | Fix fetch_max_bytes=1 consumer integration test | Dana Powers | 2017-06-18 | 1 | -10/+10 |
| | |||||
* | Fix integration test that requires consumer group | Dana Powers | 2017-03-07 | 1 | -1/+4 |
| | |||||
* | Added `max_bytes` option and FetchRequest_v3 usage. (#962) | Taras Voinarovskyi | 2017-03-06 | 1 | -0/+46 |
| | | | | * Added `max_bytes` option and FetchRequest_v3 usage. * Add checks for versions above 0.10 based on ApiVersionResponse | ||||
* | KAFKA-3007: KafkaConsumer max_poll_records (#831) | Dana Powers | 2016-09-28 | 1 | -0/+1 |
| | |||||
* | * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages* ↵ | Paul Cavallaro | 2016-05-10 | 1 | -1/+18 |
| | | | | | [Legacy Protocol] Update legacy protocol to handle compressed messages * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages | ||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -4/+2 |
| | |||||
* | Support setting kafka instance port explicitly in fixture | Dana Powers | 2016-02-15 | 1 | -2/+4 |
| | |||||
* | Fix missing import | Dana Powers | 2016-01-30 | 1 | -0/+1 |
| | |||||
* | Skip MultiProcessConsumer integration tests | Dana Powers | 2016-01-30 | 1 | -0/+5 |
| | |||||
* | Merge branch '0.9' | Dana Powers | 2016-01-07 | 1 | -45/+57 |
|\ | | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py | ||||
| * | Dont use consumer_timeout_ms in simple kafka_consumer test | Dana Powers | 2016-01-04 | 1 | -2/+1 |
| | | |||||
| * | Dont use consumer_timeout_ms in kafka blocking test | Dana Powers | 2016-01-03 | 1 | -7/+4 |
| | | |||||
| * | Update consumer integration tests to use new (group) KafkaConsumer | Dana Powers | 2016-01-03 | 1 | -29/+31 |
| | | | | | | | | | | | | | | | | | | | | - Remove debug call to deprecated .offsets() method - Manually assign TopicPartition to avoid group subscription overhead - Use next(consumer), not consumer.next() - consumer_timeout_ms now raises StopIteration, not ConsumerTimeout - auto_commit_enable is now enable_auto_commit - auto_offset_reset -> earliest, not smallest - new consumer does not support auto_commit_interval_messages | ||||
| * | Drop bytes encoding of consumer group in consumer integration test | Dana Powers | 2015-12-10 | 1 | -1/+1 |
| | | |||||
| * | Fix consumer integration test that assumed a single broker | Dana Powers | 2015-12-10 | 1 | -4/+6 |
| | | |||||
| * | Fix zk_chroot in consumer integration kafka fixtures | Dana Powers | 2015-12-10 | 1 | -2/+3 |
| | | |||||
| * | Drop kafka_bytestring | Dana Powers | 2015-12-10 | 1 | -1/+1 |
| | | |||||
| * | Configure consumer group in consumer_integration tests | Dana Powers | 2015-12-10 | 1 | -3/+13 |
| | | |||||
| * | Default consumer integration tests should not use offset commits | Dana Powers | 2015-12-09 | 1 | -2/+3 |
| | | |||||
| * | Update references to kafka.common Request/Response (now Payload) | Dana Powers | 2015-12-09 | 1 | -2/+2 |
| | | |||||
* | | Refactor kafka_versions to support arbitrary operators (> >= < <= ! =)kafka_version_tests | Dana Powers | 2015-12-10 | 1 | -20/+5 |
|/ | |||||
* | Consumers get_messages: allow blocking until some messages are received | Oskari Saarenmaa | 2015-09-18 | 1 | -0/+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. | ||||
* | fix #410 SimpleConsumer cannot seek to an absolute offset. | haosdent | 2015-06-20 | 1 | -0/+14 |
| | |||||
* | Add kafka 0.8.2.1 to integration tests, remove 0.8.2.0 | Dana Powers | 2015-06-10 | 1 | -5/+5 |
| | |||||
* | Reduce blocking times in consumer integration tests | Dana Powers | 2015-06-08 | 1 | -14/+14 |
| | |||||
* | Import style nits in integration tests | Dana Powers | 2015-06-08 | 1 | -2/+6 |
| | |||||
* | random_string helper should return str not bytes | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | Fetch previously committed offsets in base consumer class so long as | Dana Powers | 2015-03-30 | 1 | -1/+4 |
| | | | | | | | | 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 | ||||
* | Skip these tests: no OffsetCommitRequest for 0.8.0 | Viktor Shlapakov | 2015-03-30 | 1 | -2/+2 |
| |