<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git, branch backoff_coordinator_retry</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>Backoff on unavailable group coordinator retry</title>
<updated>2017-06-19T06:55:39+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-19T06:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=8a7d4cd66a028f0e28012bde75a12d4ff3da4ee9'/>
<id>8a7d4cd66a028f0e28012bde75a12d4ff3da4ee9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup for #1085 -- only check for changed metadata on disconnected nodes</title>
<updated>2017-06-19T06:18:41+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-19T06:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=bbbac3dc3678df069ef72ecfea62d435bc519a07'/>
<id>bbbac3dc3678df069ef72ecfea62d435bc519a07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deal with brokers that disappear, reappear with different IP address (#1085)</title>
<updated>2017-06-19T06:17:31+00:00</updated>
<author>
<name>Mike Fischer</name>
<email>mike@originstech.com</email>
</author>
<published>2017-04-24T05:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=2a41fa1fe4cee892604786f460e916dc0d96378f'/>
<id>2a41fa1fe4cee892604786f460e916dc0d96378f</id>
<content type='text'>
When KafkaClient connects to a broker in _maybe_connect,
it inserts into self._conns a BrokerConnection configured
with the current host/port for that node.  The BrokerConnection
remains there forever, though, so if the broker's IP or host
ever changes, KafkaClient has no way to deal with this.

The fix is to compare the latest metadata with the current
node's connection, and if the host/IP has changed, decommission
the old connection and allow a new one to be created.

There's also a common race condition on broker startup where
the initial metadata request sometimes returns an empty list
of brokers, but subsequent requests behave normally.  So, we
must deal with broker being None here.  This change is conservative
in that it doesn't remove the connection from self._conns unless
the new broker metadata contains an entry for that same node
with a new IP/port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When KafkaClient connects to a broker in _maybe_connect,
it inserts into self._conns a BrokerConnection configured
with the current host/port for that node.  The BrokerConnection
remains there forever, though, so if the broker's IP or host
ever changes, KafkaClient has no way to deal with this.

The fix is to compare the latest metadata with the current
node's connection, and if the host/IP has changed, decommission
the old connection and allow a new one to be created.

There's also a common race condition on broker startup where
the initial metadata request sometimes returns an empty list
of brokers, but subsequent requests behave normally.  So, we
must deal with broker being None here.  This change is conservative
in that it doesn't remove the connection from self._conns unless
the new broker metadata contains an entry for that same node
with a new IP/port.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not test fetched_size with fetch_max_bytes since 0.11 brokers will return more data than 0.10</title>
<updated>2017-06-19T05:43:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-17T15:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=26a810220acbca57200a805132c5f32108a7fc9c'/>
<id>26a810220acbca57200a805132c5f32108a7fc9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase max_buffer_size for test_large_messages</title>
<updated>2017-06-19T05:43:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-17T15:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=c5f1c6901f0ff1b7867c80691134d535ac645559'/>
<id>c5f1c6901f0ff1b7867c80691134d535ac645559</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix fetch_max_bytes=1 consumer integration test</title>
<updated>2017-06-19T05:43:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-17T14:18:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=b4f71229d000b01c5d7b8054ce5eca5b69177bb1'/>
<id>b4f71229d000b01c5d7b8054ce5eca5b69177bb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use fixture hostname (dont assume localhost)</title>
<updated>2017-06-19T05:43:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-17T14:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=d127928e44113f645649775174f751ebc470cd88'/>
<id>d127928e44113f645649775174f751ebc470cd88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 0.11.0.0 server resources (reduced offsets.topic.replication.factor=1)</title>
<updated>2017-06-19T05:43:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-17T14:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=6b316c0971f23aa46be92b15cbd827f46e8483a5'/>
<id>6b316c0971f23aa46be92b15cbd827f46e8483a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Describe consumer thread-safety</title>
<updated>2017-06-17T06:26:14+00:00</updated>
<author>
<name>Linus Wallgren</name>
<email>linus.wallgren@gmail.com</email>
</author>
<published>2017-05-18T20:49:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=97261f491d02fb7f72ba30abcfc26240f520a9b4'/>
<id>97261f491d02fb7f72ba30abcfc26240f520a9b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update exception docstring</title>
<updated>2017-06-17T06:21:11+00:00</updated>
<author>
<name>Andrew Kowalik</name>
<email>andrew.kowalik@percolate.com</email>
</author>
<published>2017-05-04T17:47:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=73d78bc76ade2b42abcdea32095d1df930e21c55'/>
<id>73d78bc76ade2b42abcdea32095d1df930e21c55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
