Skip to content

Commit b07cfdf

Browse files
author
Matt Howlett
authored
Merge branch 'master' into return_record_name
2 parents a4d3f90 + 7f9c044 commit b07cfdf

32 files changed

+967
-323
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ tests/docker/conf/tls/*
2626
.DS_Store
2727
.idea
2828
tmp-KafkaCluster
29+
.venv

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
global:
3-
- LIBRDKAFKA_VERSION=v1.6.0
3+
- LIBRDKAFKA_VERSION=v1.6.1
44

55
jobs:
66
include:

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
11
# Confluent's Python client for Apache Kafka
22

3+
## v1.6.0
4+
5+
v1.6.0 is a feature release with the following features, fixes and enhancements:
6+
7+
- Bundles librdkafka v1.6.0 which adds support for Incremental rebalancing,
8+
Sticky producer partitioning, Transactional producer scalabilty improvements,
9+
and much much more. See link to release notes below.
10+
- Rename asyncio.py example to avoid circular import (#945)
11+
- The Linux wheels are now built with manylinux2010 (rather than manylinux1)
12+
since OpenSSL v1.1.1 no longer builds on CentOS 5. Older Linux distros may
13+
thus no longer be supported, such as CentOS 5.
14+
- The in-wheel OpenSSL version has been updated to 1.1.1i.
15+
- Added `Message.latency()` to retrieve the per-message produce latency.
16+
- Added trove classifiers.
17+
- Consumer destructor will no longer trigger consumer_close(),
18+
`consumer.close()` must now be explicitly called if the application
19+
wants to leave the consumer group properly and commit final offsets.
20+
- Fix `PY_SSIZE_T_CLEAN` warning
21+
- Move confluent_kafka/ to src/ to avoid pytest/tox picking up the local dir
22+
- Added `producer.purge()` to purge messages in-queue/flight (@peteryin21, #548)
23+
- Added `AdminClient.list_groups()` API (@messense, #948)
24+
- Rename asyncio.py example to avoid circular import (#945)
25+
26+
confluent-kafka-python is based on librdkafka v1.6.2, see the
27+
[librdkafka release notes](https://github.com/edenhill/librdkafka/releases/tag/v1.6.0)
28+
for a complete list of changes, enhancements, fixes and upgrade considerations.
29+
30+
331
## v1.5.2
432

5-
v1.5.2 is a maintenance release with the following fixing and enhancements:
33+
v1.5.2 is a maintenance release with the following fixes and enhancements:
634

735
- Add producer purge method with optional blocking argument (@peteryin21, #548)
836
- Add AdminClient.list_groups API (@messense, #948)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Prerequisites
283283
=============
284284

285285
* Python >= 2.7 or Python 3.x
286-
* [librdkafka](https://github.com/edenhill/librdkafka) >= 1.4.0 (latest release is embedded in wheels)
286+
* [librdkafka](https://github.com/edenhill/librdkafka) >= 1.6.0 (latest release is embedded in wheels)
287287

288288
librdkafka is embedded in the macosx manylinux wheels, for other platforms, SASL Kerberos/GSSAPI support or
289289
when a specific version of librdkafka is desired, following these guidelines:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
# built documents.
5858
#
5959
# The short X.Y version.
60-
version = '1.6.0'
60+
version = '1.6.1'
6161
# The full version, including alpha/beta/rc tags.
6262
release = version
6363

docs/index.rst

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,40 @@
1-
The confluent_kafka API
2-
=======================
1+
confluent_kafka API
2+
===================
33

4-
A reliable, performant and feature rich Python client for Apache Kafka v0.8 and above.
4+
A reliable, performant and feature-rich Python client for Apache Kafka v0.8 and above.
5+
6+
Configuration
7+
- :ref:`Configuration Guide <pythonclient_configuration>`
58

69
Client API
710
- :ref:`AdminClient <pythonclient_adminclient>`
811
- :ref:`Consumer <pythonclient_consumer>`
9-
- :ref:`DeserializingConsumer <serde_consumer>`
12+
- :ref:`DeserializingConsumer <serde_consumer>` (new API subject to change)
13+
- :ref:`AvroConsumer <avro_consumer>` (legacy)
1014
- :ref:`Producer <pythonclient_producer>`
11-
- :ref:`SerializingProducer <serde_producer>`
15+
- :ref:`SerializingProducer <serde_producer>` (new API subject to change)
16+
- :ref:`AvroProducer <avro_producer>` (legacy)
1217
- :ref:`SchemaRegistry <schemaregistry_client>`
1318

14-
- :ref:`AvroConsumer(Legacy) <avro_consumer>`
15-
- :ref:`AvroProducer(Legacy) <avro_producer>`
1619

1720
Serialization API
18-
- :ref:`Deserializer <serde_deserializer>`
19-
- :ref:`AvroDeserializer <schemaregistry_avro_deserializer>`
20-
- :ref:`DoubleDeserializer <serde_deserializer_double>`
21-
- :ref:`JSONDeserializer <schemaregistry_json_deserializer>`
22-
- :ref:`IntegerDeserializer <serde_deserializer_integer>`
23-
- :ref:`ProtobufDeserializer <schemaregistry_protobuf_deserializer>`
24-
- :ref:`StringDeserializer <serde_deserializer_string>`
25-
26-
27-
- :ref:`Serializer <serde_Serializer>`
28-
- :ref:`AvroSerializer <schemaregistry_avro_serializer>`
29-
- :ref:`DoubleSerializer <serde_serializer_double>`
30-
- :ref:`JSONSerializer <schemaregistry_json_serializer>`
31-
- :ref:`IntegerSerializer <serde_serializer_integer>`
32-
- :ref:`ProtobufSerializer <schemaregistry_protobuf_serializer>`
33-
- :ref:`StringSerializer <serde_serializer_string>`
21+
- Serializer
22+
- :ref:`AvroDeserializer <schemaregistry_avro_deserializer>`
23+
- :ref:`DoubleDeserializer <serde_deserializer_double>`
24+
- :ref:`JSONDeserializer <schemaregistry_json_deserializer>`
25+
- :ref:`IntegerDeserializer <serde_deserializer_integer>`
26+
- :ref:`ProtobufDeserializer <schemaregistry_protobuf_deserializer>`
27+
- :ref:`StringDeserializer <serde_deserializer_string>`
28+
29+
- Deserializer
30+
- :ref:`AvroSerializer <schemaregistry_avro_serializer>`
31+
- :ref:`DoubleSerializer <serde_serializer_double>`
32+
- :ref:`JSONSerializer <schemaregistry_json_serializer>`
33+
- :ref:`IntegerSerializer <serde_serializer_integer>`
34+
- :ref:`ProtobufSerializer <schemaregistry_protobuf_serializer>`
35+
- :ref:`StringSerializer <serde_serializer_string>`
3436

3537

36-
:ref:`Transactional Producer API <pythonclient_transactional>`
37-
38-
:ref:`Kafka Client Configuration <pythonclient_configuration>`
39-
4038
Supporting classes
4139
- :ref:`Message <pythonclient_message>`
4240
- :ref:`TopicPartition <pythonclient_topicpartition>`
@@ -52,10 +50,9 @@ Supporting classes
5250
- :ref:`KeyDeserializationError <serde_error_deserializer_key>`
5351
- :ref:`ValueDeserializationError <serde_error_deserializer_value>`
5452

53+
Guide to the :ref:`Transactional Producer API <pythonclient_transactional>`
5554

5655

57-
:ref:`genindex`
58-
5956

6057
Kafka Clients
6158
=============

examples/docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM alpine:3.12
3030

3131
COPY . /usr/src/confluent-kafka-python
3232

33-
ENV LIBRDKAFKA_VERSION v1.6.0
33+
ENV LIBRDKAFKA_VERSION v1.6.1
3434
ENV KAFKACAT_VERSION master
3535

3636

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_install_requirements(path):
7676
setup(name='confluent-kafka',
7777
# Make sure to bump CFL_VERSION* in confluent_kafka/src/confluent_kafka.h
7878
# and version and release in docs/conf.py.
79-
version='1.6.0',
79+
version='1.6.1',
8080
description='Confluent\'s Python client for Apache Kafka',
8181
author='Confluent Inc',
8282
author_email='support@confluent.io',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy