<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/kafka-python.git/kafka/protocol, branch 2.0.2</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>Feature: delete consumergroups (#2040)</title>
<updated>2020-09-17T16:17:35+00:00</updated>
<author>
<name>Swen Wenzel</name>
<email>5111028+swenzel@users.noreply.github.com</email>
</author>
<published>2020-09-17T16:17:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=16a0b3155fdeebe80295fcfb0f32d75af74dcb1a'/>
<id>16a0b3155fdeebe80295fcfb0f32d75af74dcb1a</id>
<content type='text'>
* Add consumergroup related errors
* Add DeleteGroups to protocol.admin
* Implement delete_groups feature on KafkaAdminClient</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add consumergroup related errors
* Add DeleteGroups to protocol.admin
* Implement delete_groups feature on KafkaAdminClient</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `zstd` compression (#2021)</title>
<updated>2020-09-07T23:11:18+00:00</updated>
<author>
<name>Tincu Gabriel</name>
<email>gabi@aiven.io</email>
</author>
<published>2020-09-07T23:11:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=a27ab881726ed1a2d952867a1fa266573165d6aa'/>
<id>a27ab881726ed1a2d952867a1fa266573165d6aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add logic for inferring newer broker versions (#2038)</title>
<updated>2020-05-05T11:29:23+00:00</updated>
<author>
<name>Tincu Gabriel</name>
<email>gabi@aiven.io</email>
</author>
<published>2020-05-05T11:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=6fc008137c75c751a9fbea3e0ef36d2870119c7b'/>
<id>6fc008137c75c751a9fbea3e0ef36d2870119c7b</id>
<content type='text'>
* Add logic for inferring newer broker versions

- New Fetch / ListOffsets request / response objects
- Add new test cases to inferr code based on mentioned objects
- Add unit test to check inferred version against whatever resides in KAFKA_VERSION
- Add new kafka broker versions to integration list
- Add more kafka broker versions to travis task list
- Add support for broker version 2.5 id

* Implement PR change requests: fewer versions for travis testing, remove unused older versions for inference code, remove one minor version from known server list
Do not use newly created ACL request / responses in allowed version lists, due to flexible versions enabling in kafka actually requiring a serialization protocol header update
Revert admin client file change</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add logic for inferring newer broker versions

- New Fetch / ListOffsets request / response objects
- Add new test cases to inferr code based on mentioned objects
- Add unit test to check inferred version against whatever resides in KAFKA_VERSION
- Add new kafka broker versions to integration list
- Add more kafka broker versions to travis task list
- Add support for broker version 2.5 id

* Implement PR change requests: fewer versions for travis testing, remove unused older versions for inference code, remove one minor version from known server list
Do not use newly created ACL request / responses in allowed version lists, due to flexible versions enabling in kafka actually requiring a serialization protocol header update
Revert admin client file change</pre>
</div>
</content>
</entry>
<entry>
<title>Add `log_start_offset` to message protocol parsing (#2020)</title>
<updated>2020-03-25T15:05:36+00:00</updated>
<author>
<name>Tincu Gabriel</name>
<email>gabi@aiven.io</email>
</author>
<published>2020-03-25T15:05:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=f9e0264e0b0f8d92afb6177d51976795e3bdbcd8'/>
<id>f9e0264e0b0f8d92afb6177d51976795e3bdbcd8</id>
<content type='text'>
This is in preparation for adding `zstd` support.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is in preparation for adding `zstd` support.</pre>
</div>
</content>
</entry>
<entry>
<title>Implement methods to convert a Struct object to a pythonic object (#1951)</title>
<updated>2020-02-06T20:27:09+00:00</updated>
<author>
<name>Tyler Lubeck</name>
<email>tyler@coffeemeetsbagel.com</email>
</author>
<published>2020-02-06T20:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=209515bf9dcdd9e03bc286035641af3ae72fcbf9'/>
<id>209515bf9dcdd9e03bc286035641af3ae72fcbf9</id>
<content type='text'>
Implement methods to convert a Struct object to a pythonic object</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement methods to convert a Struct object to a pythonic object</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some dead code</title>
<updated>2020-02-05T23:57:01+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2017-08-30T22:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=6babefab60b05e405fdebde89e27fd8b02848633'/>
<id>6babefab60b05e405fdebde89e27fd8b02848633</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Admin protocol updates (#1948)</title>
<updated>2019-12-29T23:47:32+00:00</updated>
<author>
<name>Tyler Lubeck</name>
<email>tyler@tylerlubeck.com</email>
</author>
<published>2019-12-29T23:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=e06ea70174e0b114bec8072371a54ae6bcd73da5'/>
<id>e06ea70174e0b114bec8072371a54ae6bcd73da5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove SimpleClient, Producer, Consumer, Unittest (#1196)</title>
<updated>2019-10-11T19:03:22+00:00</updated>
<author>
<name>Jeff Widman</name>
<email>jeff@jeffwidman.com</email>
</author>
<published>2019-10-11T19:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=3631bfa009a28767a2057c9beee470acaa6597d5'/>
<id>3631bfa009a28767a2057c9beee470acaa6597d5</id>
<content type='text'>
In the 2.0 release, we're removing:
 * `SimpleClient`
 * `SimpleConsumer`
 * `SimpleProducer`
 * Old partitioners used by `SimpleProducer`; these are superceded by
 the `DefaultPartitioner`

These have been deprecated for several years in favor of `KafkaClient`
/ `KafkaConsumer` / `KafkaProducer`.

Since 2.0 allows breaking changes, we are removing the deprecated
classes.

Additionally, since the only usage of `unittest` was in tests for these
old Simple* clients, this also drops `unittest` from the library. All
tests now run under `pytest`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the 2.0 release, we're removing:
 * `SimpleClient`
 * `SimpleConsumer`
 * `SimpleProducer`
 * Old partitioners used by `SimpleProducer`; these are superceded by
 the `DefaultPartitioner`

These have been deprecated for several years in favor of `KafkaClient`
/ `KafkaConsumer` / `KafkaProducer`.

Since 2.0 allows breaking changes, we are removing the deprecated
classes.

Additionally, since the only usage of `unittest` was in tests for these
old Simple* clients, this also drops `unittest` from the library. All
tests now run under `pytest`.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert 703f0659 / fix 0.8.2 protocol quick detection (#1763)</title>
<updated>2019-03-27T14:45:50+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2019-03-27T14:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=227a94663d6b0ab11c12236085f79b5b6ffd5568'/>
<id>227a94663d6b0ab11c12236085f79b5b6ffd5568</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix response error checking in KafkaAdminClient send_to_controller</title>
<updated>2019-01-03T21:46:47+00:00</updated>
<author>
<name>Dana Powers</name>
<email>dana.powers@gmail.com</email>
</author>
<published>2018-11-23T18:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/kafka-python.git/commit/?id=2e0ada055886ad01cc193b1007d3f79717b5c9df'/>
<id>2e0ada055886ad01cc193b1007d3f79717b5c9df</id>
<content type='text'>
Previously we weren't accounting for when the response tuple also has a
`error_message` value.

Note that in Java, the error fieldname is inconsistent:
 - `CreateTopicsResponse` / `CreatePartitionsResponse` uses `topic_errors`
 - `DeleteTopicsResponse` uses `topic_error_codes`
So this updates the `CreateTopicsResponse` classes to match.

The fix is a little brittle, but should suffice for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we weren't accounting for when the response tuple also has a
`error_message` value.

Note that in Java, the error fieldname is inconsistent:
 - `CreateTopicsResponse` / `CreatePartitionsResponse` uses `topic_errors`
 - `DeleteTopicsResponse` uses `topic_error_codes`
So this updates the `CreateTopicsResponse` classes to match.

The fix is a little brittle, but should suffice for now.
</pre>
</div>
</content>
</entry>
</feed>
