<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/kafka/cluster.py, branch state_change_callback_no_lock_close</title>
<subtitle>github.com: mumrah/kafka-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/'/>
<entry>
<title>Maintain shadow cluster metadata for bootstrapping (#1753)</title>
<updated>2019-03-22T04:03:42+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-22T04:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=af2dd48de338cac07b88805b8f2b23ee2e694502'/>
<id>af2dd48de338cac07b88805b8f2b23ee2e694502</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Retry bootstrapping after backoff when necessary (#1736)</title>
<updated>2019-03-14T16:39:28+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-14T16:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=812de351f75beefe73bd9bef55847ab61ccc951d'/>
<id>812de351f75beefe73bd9bef55847ab61ccc951d</id>
<content type='text'>
The current client attempts to bootstrap once during initialization, but if it fails there is no second attempt and the client will be inoperable. This can happen, for example, if an entire cluster is down at the time a long-running client starts execution.

This commit attempts to fix this by removing the synchronous bootstrapping from `KafkaClient` init, and instead merges bootstrap metadata with the cluster metadata. The Java client uses a similar approach. This allows us to continue falling back to bootstrap data when necessary throughout the life of a long-running consumer or producer.

Fix #1670</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current client attempts to bootstrap once during initialization, but if it fails there is no second attempt and the client will be inoperable. This can happen, for example, if an entire cluster is down at the time a long-running client starts execution.

This commit attempts to fix this by removing the synchronous bootstrapping from `KafkaClient` init, and instead merges bootstrap metadata with the cluster metadata. The Java client uses a similar approach. This allows us to continue falling back to bootstrap data when necessary throughout the life of a long-running consumer or producer.

Fix #1670</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore MetadataResponses with empty broker list (#1506)</title>
<updated>2018-05-26T15:43:25+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-05-26T15:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=ee26c3f547f357d639b421b3e38a74e87e21f346'/>
<id>ee26c3f547f357d639b421b3e38a74e87e21f346</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>Document methods that return None</title>
<updated>2018-05-23T22:19:35+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2018-05-22T18:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=c9d783a8211337205bc90c27d1f67beb65ac5d9e'/>
<id>c9d783a8211337205bc90c27d1f67beb65ac5d9e</id>
<content type='text'>
If a valid broker in the cluster has no partitions, it will return None rather than an empty set.

Similarly updated a few other methods.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a valid broker in the cluster has no partitions, it will return None rather than an empty set.

Similarly updated a few other methods.</pre>
</div>
</content>
</entry>
<entry>
<title>use absolute imports everywhere (#1362)</title>
<updated>2018-02-06T20:10:45+00:00</updated>
<author>
<name>Kevin Tindall</name>
<email>kevinkjt2000@users.noreply.github.com</email>
</author>
<published>2018-02-06T20:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=9ae0e590b5ea93a9c07d71b55b593e0fcc973bc6'/>
<id>9ae0e590b5ea93a9c07d71b55b593e0fcc973bc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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>Add ClusterMetadata documentation</title>
<updated>2017-03-07T20:24:55+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-03-07T19:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=a4338169d4e87536ed2e81ce41d9276e2f3d73a9'/>
<id>a4338169d4e87536ed2e81ce41d9276e2f3d73a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop old brokers when rebuilding broker metadata (#1005)</title>
<updated>2017-03-03T20:51:21+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2017-03-03T20:51:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=315850c87759d8379899fbfdc6a882100d4a7020'/>
<id>315850c87759d8379899fbfdc6a882100d4a7020</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Metadata with_partitions() (#787)</title>
<updated>2016-08-02T01:14:59+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2016-08-02T01:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=40e2faa9abfb0c2bbf0c54065b1d5e2298b1f7b5'/>
<id>40e2faa9abfb0c2bbf0c54065b1d5e2298b1f7b5</id>
<content type='text'>
  add method ClusterMetadata.with_partitions
  also fixup ClusterMetadata __str__</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  add method ClusterMetadata.with_partitions
  also fixup ClusterMetadata __str__</pre>
</div>
</content>
</entry>
<entry>
<title>Vendor six 1.10.0</title>
<updated>2016-08-01T21:47:40+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2016-08-01T16:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=51b3d311f3930d9bb86877ca235156eb9d46763c'/>
<id>51b3d311f3930d9bb86877ca235156eb9d46763c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
