<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git, branch fetchable_key_error</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>set.discard is much better</title>
<updated>2018-01-12T17:38:32+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-12T17:38:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=8c6ac80fa368732cac061993a81c363fbbad662c'/>
<id>8c6ac80fa368732cac061993a81c363fbbad662c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid KeyError when filtering fetchable partitions</title>
<updated>2018-01-12T01:42:37+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-12T01:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=47869c2d790922ef84f07c75466894bf63dcd1af'/>
<id>47869c2d790922ef84f07c75466894bf63dcd1af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Honor reconnect_backoff in conn.connect() (#1342)</title>
<updated>2018-01-12T01:38:47+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-12T01:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=a8bf19f88e89bef571b7c1f952010bf405054987'/>
<id>a8bf19f88e89bef571b7c1f952010bf405054987</id>
<content type='text'>
* Honor reconnect_backoff in conn.connect()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Honor reconnect_backoff in conn.connect()</pre>
</div>
</content>
</entry>
<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>Read all available socket bytes (#1332)</title>
<updated>2018-01-11T01:25:33+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-01-11T01:25:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=a69320b8e3199fa9d7cfa3947a242e699a045c3b'/>
<id>a69320b8e3199fa9d7cfa3947a242e699a045c3b</id>
<content type='text'>
* Recv all available network bytes before parsing
* Add experimental support for configuring socket chunking parameters</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Recv all available network bytes before parsing
* Add experimental support for configuring socket chunking parameters</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>Fix typo in _try_authenticate_plain (#1333)</title>
<updated>2017-12-28T16:59:58+00:00</updated>
<author>
<name>everpcpc</name>
<email>git@everpcpc.com</email>
</author>
<published>2017-12-28T16:59:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=794b695e7ceff25834616bb54e32160104040df4'/>
<id>794b695e7ceff25834616bb54e32160104040df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add security layer negotiation to the GSSAPI authentication. (#1283)</title>
<updated>2017-12-26T17:49:05+00:00</updated>
<author>
<name>Andre Araujo</name>
<email>araujo@cloudera.com</email>
</author>
<published>2017-10-25T21:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=4cfeaca5c867e15213420caad400f5f1863f64e3'/>
<id>4cfeaca5c867e15213420caad400f5f1863f64e3</id>
<content type='text'>
When trying to establish a connection with Kafka using SASL with the
GSSAPI authentication mechanism the connection was hanging an timing out
after 60 secons. On the Kafka broker side I noticed that the
SaslServerAuthenticator was going from the AUTHENTICATE to the FAILED state.

The GSSAPI auth implementation was missing the second handshake defined in
RFC 2222, which happens after the security context is established. This
handshake is used by the client and server to negotiate the security layer (QoP)
to be used for the connection.

Kafka currently only support the "auth" QoP, so the implementation in this commit
doesn't make it configurable, but this can be extended later.

With this change I was able to successfully connect to a Kerberos-enabled Kafka
broker using the SASL_PLAINTEXT protocol and the GSSAPI mechanism.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When trying to establish a connection with Kafka using SASL with the
GSSAPI authentication mechanism the connection was hanging an timing out
after 60 secons. On the Kafka broker side I noticed that the
SaslServerAuthenticator was going from the AUTHENTICATE to the FAILED state.

The GSSAPI auth implementation was missing the second handshake defined in
RFC 2222, which happens after the security context is established. This
handshake is used by the client and server to negotiate the security layer (QoP)
to be used for the connection.

Kafka currently only support the "auth" QoP, so the implementation in this commit
doesn't make it configurable, but this can be extended later.

With this change I was able to successfully connect to a Kerberos-enabled Kafka
broker using the SASL_PLAINTEXT protocol and the GSSAPI mechanism.
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise non-API exceptions (#1316)</title>
<updated>2017-12-21T22:48:15+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2017-12-21T22:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=c49ae90b105fad958dbc60499aeedd27ff52416c'/>
<id>c49ae90b105fad958dbc60499aeedd27ff52416c</id>
<content type='text'>
The original intent was to catch API exceptions (errors returned by the
broker when trying to produce a message) and delegate them to the
messages' futures. This is copied from the Java producer.

However, we were accidentally catching all exceptions, thereby hiding
exceptions from users unless they explicitly check the result of the
future. Much better to raise client-side errors directly in the
foreground so the user is immediately aware of them and can decide how
to handle.

Fix #1274</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original intent was to catch API exceptions (errors returned by the
broker when trying to produce a message) and delegate them to the
messages' futures. This is copied from the Java producer.

However, we were accidentally catching all exceptions, thereby hiding
exceptions from users unless they explicitly check the result of the
future. Much better to raise client-side errors directly in the
foreground so the user is immediately aware of them and can decide how
to handle.

Fix #1274</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>
</feed>
