Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove SimpleClient, Producer, Consumer, Unittest (#1196) | Jeff Widman | 2019-10-11 | 1 | -35/+4 |
| | | | | | | | | | | | | | | | | | | In the 2.0 release, we're removing: * `SimpleClient` * `SimpleConsumer` * `SimpleProducer` * Old partitioners used by `SimpleProducer`; these are superceded by the `DefaultPartitioner` These have been deprecated for several years in favor of `KafkaClient` / `KafkaConsumer` / `KafkaProducer`. Since 2.0 allows breaking changes, we are removing the deprecated classes. Additionally, since the only usage of `unittest` was in tests for these old Simple* clients, this also drops `unittest` from the library. All tests now run under `pytest`. | ||||
* | Minor aesthetic cleanup of partitioner tests | Jeff Widman | 2018-10-27 | 1 | -11/+10 |
| | |||||
* | Fix typos | Jeff Widman | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Fix murmur2 bug handling python2 bytes that do not ascii encode (#815) | Dana Powers | 2016-10-22 | 1 | -15/+9 |
| | | | | | | * Add test for murmur2 py2 bytes bug * Fix murmur2 handling of python2 bytes * Drop bytearray / str / unicode MurmurPartitioner tests -- no longer supported * Make DefaultPartitioner importable from kafka.partitioner | ||||
* | Update Partitioners for use with KafkaProducer (#827) | barrotsteindev | 2016-09-28 | 1 | -0/+33 |
| | |||||
* | add DefaultPartitioner test | Dana Powers | 2016-01-24 | 1 | -22/+42 |
| | |||||
* | Fix translation of Java murmur2 code, fix byte encoding for Python 3. | Chris Chamberlin | 2015-07-28 | 1 | -0/+23 |
Avoid further type changes when Murmur2Partitioner is passed a byte array. Change leftover-bytes logic to match the Java switch statement, and add tests to verify that partition selection matches Java implementation. |