<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git, branch conn_lock_async_send</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>Synchronize puts to KafkaConsumer protocol buffer during async sends</title>
<updated>2019-03-12T04:48:31+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-12T04:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=59400bdad759fddc1d58bdae64de953968316b61'/>
<id>59400bdad759fddc1d58bdae64de953968316b61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do network connections and writes in KafkaClient.poll() (#1729)</title>
<updated>2019-03-08T16:01:48+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-08T16:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=8c0792581d8a38822c01b40f5d3926c659b0c439'/>
<id>8c0792581d8a38822c01b40f5d3926c659b0c439</id>
<content type='text'>
* Add BrokerConnection.send_pending_requests to support async network sends
* Send network requests during KafkaClient.poll() rather than in KafkaClient.send()
* Dont acquire lock during KafkaClient.send if node is connected / ready
* Move all network connection IO into KafkaClient.poll()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add BrokerConnection.send_pending_requests to support async network sends
* Send network requests during KafkaClient.poll() rather than in KafkaClient.send()
* Dont acquire lock during KafkaClient.send if node is connected / ready
* Move all network connection IO into KafkaClient.poll()</pre>
</div>
</content>
</entry>
<entry>
<title>Do not require client lock for read-only operations (#1730)</title>
<updated>2019-03-07T03:11:23+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-07T03:11: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=7a99013668b798aaa0acffcf382a7e48e7bd41c1'/>
<id>7a99013668b798aaa0acffcf382a7e48e7bd41c1</id>
<content type='text'>
In an effort to reduce the surface area of lock coordination, and thereby hopefully reduce lock contention, I think we can remove locking from the read-only KafkaClient methods: connected, is_disconnected, in_flight_request_count, and least_loaded_node . Given that the read data could change after the lock is released but before the caller uses it, the value of acquiring a lock here does not seem high to me.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In an effort to reduce the surface area of lock coordination, and thereby hopefully reduce lock contention, I think we can remove locking from the read-only KafkaClient methods: connected, is_disconnected, in_flight_request_count, and least_loaded_node . Given that the read data could change after the lock is released but before the caller uses it, the value of acquiring a lock here does not seem high to me.</pre>
</div>
</content>
</entry>
<entry>
<title>Use test.fixtures.version not test.conftest.version to avoid warnings (#1731)</title>
<updated>2019-03-07T03:10:29+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-07T03:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=37699be51f868bd736e0fd595f2afc4c03b00ca4'/>
<id>37699be51f868bd736e0fd595f2afc4c03b00ca4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make NotEnoughReplicasError/NotEnoughReplicasAfterAppendError retriable (#1722)</title>
<updated>2019-03-03T20:09:10+00:00</updated>
<author>
<name>le-linh</name>
<email>48096349+le-linh@users.noreply.github.com</email>
</author>
<published>2019-03-03T20:09:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=940b1c5582294ecc29ad308afbcebd605f3ab009'/>
<id>940b1c5582294ecc29ad308afbcebd605f3ab009</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop dependency on sphinxcontrib-napoleon</title>
<updated>2019-02-27T18:14:43+00:00</updated>
<author>
<name>Stanislav Levin</name>
<email>slev@altlinux.org</email>
</author>
<published>2019-02-17T21:06:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=fd3eb91ce7ccf5c03bba62a4e7138407bd28f239'/>
<id>fd3eb91ce7ccf5c03bba62a4e7138407bd28f239</id>
<content type='text'>
Since 1.3b1 (released Oct 10, 2014) Sphinx has support for NumPy and
Google style docstring support via sphinx.ext.napoleon extension.
The latter is already used, but sphinxcontrib-napoleon requirement
still presents.

Signed-off-by: Stanislav Levin &lt;slev@altlinux.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 1.3b1 (released Oct 10, 2014) Sphinx has support for NumPy and
Google style docstring support via sphinx.ext.napoleon extension.
The latter is already used, but sphinxcontrib-napoleon requirement
still presents.

Signed-off-by: Stanislav Levin &lt;slev@altlinux.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_legacy_correct_metadata_response on x86 arch (#1718)</title>
<updated>2019-02-21T09:04:59+00:00</updated>
<author>
<name>Stanislav Levin</name>
<email>31205609+stanislavlevin@users.noreply.github.com</email>
</author>
<published>2019-02-21T09:04: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=03664ebe9ed8bc965391f925d50219eea4d6ac57'/>
<id>03664ebe9ed8bc965391f925d50219eea4d6ac57</id>
<content type='text'>
The problem is that the type of required operation result is
"long".

```
&gt;&gt;&gt; type(278251978 &amp; 0xffffffff)
&lt;type 'long'&gt;
```

However, by default "format" method uses __format__():

```
&gt;&gt;&gt; (278251978 &amp; 0xffffffff).__format__('')
'278251978'
```

So, let's compare things using the same engine:

```
&gt;&gt;&gt; "{!r}".format(278251978 &amp; 0xffffffff)
'278251978L'
```

Fixes: https://github.com/dpkp/kafka-python/issues/1717
Signed-off-by: Stanislav Levin &lt;slev@altlinux.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem is that the type of required operation result is
"long".

```
&gt;&gt;&gt; type(278251978 &amp; 0xffffffff)
&lt;type 'long'&gt;
```

However, by default "format" method uses __format__():

```
&gt;&gt;&gt; (278251978 &amp; 0xffffffff).__format__('')
'278251978'
```

So, let's compare things using the same engine:

```
&gt;&gt;&gt; "{!r}".format(278251978 &amp; 0xffffffff)
'278251978L'
```

Fixes: https://github.com/dpkp/kafka-python/issues/1717
Signed-off-by: Stanislav Levin &lt;slev@altlinux.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused import</title>
<updated>2019-01-28T19:01:42+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2019-01-28T18:45:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=eed59ba3b3c8800859572db046f36b5d8bd66487'/>
<id>eed59ba3b3c8800859572db046f36b5d8bd66487</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve KafkaConsumer join group / only enable Heartbeat Thread during stable group (#1695)</title>
<updated>2019-01-15T16:08:45+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-01-15T16:08: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=a4f0cb881e8cb71f285ae802aecbf716bfe71d01'/>
<id>a4f0cb881e8cb71f285ae802aecbf716bfe71d01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Travis CI: 'sudo' tag is now deprecated in Travis (#1698)</title>
<updated>2019-01-14T02:51:55+00:00</updated>
<author>
<name>cclauss</name>
<email>cclauss@me.com</email>
</author>
<published>2019-01-14T02:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/kafka-python.git/commit/?id=34fcb11c1cf96d69573274104d3b746ce67a97f4'/>
<id>34fcb11c1cf96d69573274104d3b746ce67a97f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
