<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/test/test_partitioner.py, branch 2.0.2</title>
<subtitle>github.com: mumrah/kafka-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/'/>
<entry>
<title>Remove SimpleClient, Producer, Consumer, Unittest (#1196)</title>
<updated>2019-10-11T19:03:22+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2019-10-11T19:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=3631bfa009a28767a2057c9beee470acaa6597d5'/>
<id>3631bfa009a28767a2057c9beee470acaa6597d5</id>
<content type='text'>
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`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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`.</pre>
</div>
</content>
</entry>
<entry>
<title>Minor aesthetic cleanup of partitioner tests</title>
<updated>2018-10-27T09:16:11+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2018-10-27T09:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=1945ad16a15f53a07fae489b20ac616bb184ca89'/>
<id>1945ad16a15f53a07fae489b20ac616bb184ca89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2016-11-14T11:16:41+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2016-11-08T09:29:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=cd74c1fe4053385151175b5100cb0a0d43bc31f6'/>
<id>cd74c1fe4053385151175b5100cb0a0d43bc31f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix murmur2 bug handling python2 bytes that do not ascii encode (#815)</title>
<updated>2016-10-22T16:48:08+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2016-10-22T16:48:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=8de40a20d909c90745b39df09b3aa9d2cc194b68'/>
<id>8de40a20d909c90745b39df09b3aa9d2cc194b68</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
<entry>
<title>Update Partitioners for use with KafkaProducer (#827)</title>
<updated>2016-09-28T17:30:32+00:00</updated>
<author>
<name>barrotsteindev</name>
<email>barrotstein@gmail.com</email>
</author>
<published>2016-09-28T17:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=b8717b4b79462e83344f49bbd42312cf521d84aa'/>
<id>b8717b4b79462e83344f49bbd42312cf521d84aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add DefaultPartitioner test</title>
<updated>2016-01-25T01:33:09+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@rd.io</email>
</author>
<published>2016-01-25T01:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=4d993bbe12fc20a6469a1e3074a74eabd2aba114'/>
<id>4d993bbe12fc20a6469a1e3074a74eabd2aba114</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix translation of Java murmur2 code, fix byte encoding for Python 3.</title>
<updated>2015-07-29T05:38:28+00:00</updated>
<author>
<name>Chris Chamberlin</name>
<email>chris.chamberlin@climate.com</email>
</author>
<published>2015-07-29T05:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=bb6283df6f9331595020d1d8c28818eeb1131957'/>
<id>bb6283df6f9331595020d1d8c28818eeb1131957</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
