<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/kafka/coordinator, branch test_cleanups</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>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>Improve KafkaConsumer cleanup (#1339)</title>
<updated>2018-01-10T23:56:47+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-10T23:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=0a7492443c78d4791cfdf3d6384c02f1c7757c7b'/>
<id>0a7492443c78d4791cfdf3d6384c02f1c7757c7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Replace periods (java) with underscores (python)</title>
<updated>2017-11-07T23:16:06+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2017-11-07T23:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=a3995b38210d3700855d5b438529a5387c095569'/>
<id>a3995b38210d3700855d5b438529a5387c095569</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>
<entry>
<title>Explicitly check for `None` rather than False</title>
<updated>2017-10-06T21:44:04+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2017-10-06T05:20:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=411bc08f214b7afc36f11bde2047096c06467088'/>
<id>411bc08f214b7afc36f11bde2047096c06467088</id>
<content type='text'>
If the group leader somehow gets in a state that it has an empty partition assignment, then `self._assignment_snapshot` will be `{}` which evaluates to `False`. So `self._subscription.mark_for_reassignment()` will never be triggered, even if `self._assignment_snapshot != self._metadata_snapshot`. 

Fixes the symptoms of https://github.com/dpkp/kafka-python/issues/1237 although I suspect there's an additional bug in that case that triggers the condition of the the group leader getting an empty partition assignment.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the group leader somehow gets in a state that it has an empty partition assignment, then `self._assignment_snapshot` will be `{}` which evaluates to `False`. So `self._subscription.mark_for_reassignment()` will never be triggered, even if `self._assignment_snapshot != self._metadata_snapshot`. 

Fixes the symptoms of https://github.com/dpkp/kafka-python/issues/1237 although I suspect there's an additional bug in that case that triggers the condition of the the group leader getting an empty partition assignment.</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize metadata_snapshot in group coordinator (#1174)</title>
<updated>2017-08-13T18:47:33+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-08-13T18:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=4b32b2e733294f0ee2447ca239e5cc9e2fef2fe4'/>
<id>4b32b2e733294f0ee2447ca239e5cc9e2fef2fe4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use for join-time-max and sync-time-max metrics Max() measure function (#1146)</title>
<updated>2017-07-21T05:07:50+00:00</updated>
<author>
<name>Alexey Pervushin</name>
<email>pervushinai@gmail.com</email>
</author>
<published>2017-07-21T05:07:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=165b897139ae69e5935c2618759773572781ef17'/>
<id>165b897139ae69e5935c2618759773572781ef17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>change_subscription called only when necessary (#1132)</title>
<updated>2017-07-07T19:29:40+00:00</updated>
<author>
<name>Petr Šebek</name>
<email>petrsebek1@gmail.com</email>
</author>
<published>2017-07-07T19:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=43939b29b58d85cef325cb4dba67a413b6f735d8'/>
<id>43939b29b58d85cef325cb4dba67a413b6f735d8</id>
<content type='text'>
When we are using subscription by pattern change subscription is
called every metadata update even when nothing changes. This PR
ensures that change subscription is called only when set of topics
changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we are using subscription by pattern change subscription is
called every metadata update even when nothing changes. This PR
ensures that change subscription is called only when set of topics
changes.</pre>
</div>
</content>
</entry>
</feed>
