<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/test/test_coordinator.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>KIP-54: Implement sticky partition assignment strategy (#2057)</title>
<updated>2020-09-30T04:03:54+00:00</updated>
<author>
<name>Valeria Chernenko</name>
<email>aynroot@users.noreply.github.com</email>
</author>
<published>2020-09-30T04:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=c536dd28bc3c2db85d9b62a1e73d23a3eeaebd93'/>
<id>c536dd28bc3c2db85d9b62a1e73d23a3eeaebd93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ==/!= to compare str, bytes, and int literals</title>
<updated>2020-02-05T23:25:13+00:00</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2020-01-10T08:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=7008fd44f545f0794030dc73d9e1d3115ec9e88d'/>
<id>7008fd44f545f0794030dc73d9e1d3115ec9e88d</id>
<content type='text'>
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python &gt;= 3.8, these instances will raise __SyntaxWarnings__ so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8

% __python__
```
&gt;&gt;&gt; consumer = "cons"
&gt;&gt;&gt; consumer += "umer"
&gt;&gt;&gt; consumer == "consumer"
True
&gt;&gt;&gt; consumer is "consumer"
False
&gt;&gt;&gt; 0 == 0.0
True
&gt;&gt;&gt; 0 is 0.0
False
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python &gt;= 3.8, these instances will raise __SyntaxWarnings__ so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8

% __python__
```
&gt;&gt;&gt; consumer = "cons"
&gt;&gt;&gt; consumer += "umer"
&gt;&gt;&gt; consumer == "consumer"
True
&gt;&gt;&gt; consumer is "consumer"
False
&gt;&gt;&gt; 0 == 0.0
True
&gt;&gt;&gt; 0 is 0.0
False
```</pre>
</div>
</content>
</entry>
<entry>
<title>Optionally return OffsetAndMetadata from consumer.committed(tp) (#1979)</title>
<updated>2019-12-30T00:06:24+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-12-30T00:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=2a86b23f477e5ed57aa987db97d11284a37d05a0'/>
<id>2a86b23f477e5ed57aa987db97d11284a37d05a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use `kafka.common` internally</title>
<updated>2018-06-05T21:32:01+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2018-05-28T22:58:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=bc4cc434cddf403a35d0393d68ecfdbfad17c8e5'/>
<id>bc4cc434cddf403a35d0393d68ecfdbfad17c8e5</id>
<content type='text'>
This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
</pre>
</div>
</content>
</entry>
<entry>
<title>KAFKA-3949: Avoid race condition when subscription changes during rebalance (#1364)</title>
<updated>2018-02-03T00:36:30+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-02-03T00:36:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=618c5051493693c1305aa9f08e8a0583d5fcf0e3'/>
<id>618c5051493693c1305aa9f08e8a0583d5fcf0e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor test cleanups (#1343)</title>
<updated>2018-01-12T20:49:01+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-12T20:49:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=34fea654c0136490bb5f2785ddc4e7f37ebf7ab2'/>
<id>34fea654c0136490bb5f2785ddc4e7f37ebf7ab2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix coordinator join_future race condition (#1338)</title>
<updated>2018-01-11T22:48:38+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-11T22:48:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=da65a562bdd9ce20290d4375acc36b4977ef7026'/>
<id>da65a562bdd9ce20290d4375acc36b4977ef7026</id>
<content type='text'>
* Fix race condition in coordinator join_future handling</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix race condition in coordinator join_future handling</pre>
</div>
</content>
</entry>
<entry>
<title>KAFKA-3888 Use background thread to process consumer heartbeats (#1266)</title>
<updated>2017-12-21T22:46:10+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-12-21T22:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=ad024d1e897dbf16bd629fa63895bd7af4a8d959'/>
<id>ad024d1e897dbf16bd629fa63895bd7af4a8d959</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle lookup_coordinator send failures (#1279)</title>
<updated>2017-10-24T23:05:50+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-10-24T23:05:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=d2001e4b69c2b03202a44899b687b05e735261a8'/>
<id>d2001e4b69c2b03202a44899b687b05e735261a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>KAFKA-4034: Avoid unnecessary consumer coordinator lookup (#1254)</title>
<updated>2017-10-12T00:11:31+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-10-12T00:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=cfddc6bd179e236874e00a899e9349d5c9a54400'/>
<id>cfddc6bd179e236874e00a899e9349d5c9a54400</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
