<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/kafka, branch protocol_updates</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>Cleanup protocol change comments</title>
<updated>2017-06-20T00:18:59+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-20T00:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=cf8c034b895839236247217ff8f8980bf28d63da'/>
<id>cf8c034b895839236247217ff8f8980bf28d63da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new protocol definitions for 0.11.0.0</title>
<updated>2017-06-19T22:55:52+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-19T22:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=2533680134ee8bfd8ab590114bd699340671f65f'/>
<id>2533680134ee8bfd8ab590114bd699340671f65f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new FetchRequest v4/v5, MetadataRequest v3/v4</title>
<updated>2017-06-19T17:12:07+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-06-19T17:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=3a67f641683102425d08a9572cad4f358f251fa8'/>
<id>3a67f641683102425d08a9572cad4f358f251fa8</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>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>
<entry>
<title>raise KafkaTimeoutException when flush times out</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:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=83f2d322a9fecbe9a0afb6e103f0fbdcf2fd6486'/>
<id>83f2d322a9fecbe9a0afb6e103f0fbdcf2fd6486</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error message when expiring batches in KafkaProducer (#1077)</title>
<updated>2017-05-03T15:08:06+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-05-03T15:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=a2b5ddc37568b285929fc45c17ab19348c320012'/>
<id>a2b5ddc37568b285929fc45c17ab19348c320012</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Warn dont raise on DNS lookup failures (#1091)</title>
<updated>2017-05-03T15:06:59+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-05-03T15:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=83617b956d43609c8b8d63489585c3f5837f90ee'/>
<id>83617b956d43609c8b8d63489585c3f5837f90ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
