Bump confluent-kafka from 1.9.2 to 2.1.0
Created by: dependabot[bot]
Bumps confluent-kafka from 1.9.2 to 2.1.0.
Release notes
Sourced from confluent-kafka's releases.
v2.1.0
confluent-kafka-python v2.1.0
v2.1.0 is a feature release with the following features, fixes and enhancements:
- Added
set_sasl_credentials
. This new method (on the Producer, Consumer, and AdminClient) allows modifying the stored SASL PLAIN/SCRAM credentials that will be used for subsequent (new) connections to a broker (#1511).- Wheels for Linux / arm64 (#1496).
- Added support for Default num_partitions in CreateTopics Admin API.
- Added support for password protected private key in CachedSchemaRegistryClient.
- Add reference support in Schema Registry client. (
@RickTalken
, #1304)- Migrated travis jobs to Semaphore CI (#1503)
- Added support for schema references. (#1514 and
@slominskir
#1088)- KIP-320: add offset leader epoch methods to the TopicPartition and Message classes (#1540).
confluent-kafka-python is based on librdkafka v2.1.0, see the librdkafka release notes for a complete list of changes, enhancements, fixes and upgrade considerations.
v2.0.2
confluent-kafka-python v2.0.2
v2.0.2 is a feature release with the following features, fixes and enhancements:
- Added Python 3.11 wheels.
- KIP-222 Add Consumer Group operations to Admin API.
- KIP-518 Allow listing consumer groups per state.
- KIP-396 Partially implemented: support for AlterConsumerGroupOffsets.
- As result of the above KIPs, added (#1449)
list_consumer_groups
Admin operation. Supports listing by state.describe_consumer_groups
Admin operation. Supports multiple groups.delete_consumer_groups
Admin operation. Supports multiple groups.list_consumer_group_offsets
Admin operation. Currently, only supports 1 group with multiple partitions. Supports require_stable option.alter_consumer_group_offsets
Admin operation. Currently, only supports 1 group with multiple offsets.- Added
normalize.schemas
configuration property to Schema Registry client (@rayokota
, #1406)- Added metadata to
TopicPartition
type andcommit()
(#1410).- Added
consumer.memberid()
for getting member id assigned to the consumer in a consumer group (#1154).- Implemented
nb_bool
method for the Producer, so that the default (which uses len) will not be used. This avoids situations where producers with no enqueued items would evaluate to False (@vladz-sternum
, #1445).- Deprecated
AvroProducer
andAvroConsumer
. UseAvroSerializer
andAvroDeserializer
instead.- Deprecated
list_groups
. Uselist_consumer_groups
anddescribe_consumer_groups
instead.- Improved Consumer Example to show atleast once semantics.
- Improved Serialization and Deserialization Examples.
- Documentation Improvements.
Upgrade considerations
OpenSSL 3.0.x upgrade in librdkafka requires a major version bump, as some legacy ciphers need to be explicitly configured to continue working, but it is highly recommended NOT to use them. The rest of the API remains
... (truncated)
Changelog
Sourced from confluent-kafka's changelog.
v2.1.0
v2.1.0 is a feature release with the following features, fixes and enhancements:
- Added
set_sasl_credentials
. This new method (on the Producer, Consumer, and AdminClient) allows modifying the stored SASL PLAIN/SCRAM credentials that will be used for subsequent (new) connections to a broker (#1511).- Wheels for Linux / arm64 (#1496).
- Added support for Default num_partitions in CreateTopics Admin API.
- Added support for password protected private key in CachedSchemaRegistryClient.
- Add reference support in Schema Registry client. (
@RickTalken
, #1304)- Migrated travis jobs to Semaphore CI (#1503)
- Added support for schema references. (#1514 and
@slominskir
#1088)- KIP-320: add offset leader epoch methods to the TopicPartition and Message classes (#1540).
confluent-kafka-python is based on librdkafka v2.1.0, see the librdkafka release notes for a complete list of changes, enhancements, fixes and upgrade considerations.
v2.0.2
v2.0.2 is a feature release with the following features, fixes and enhancements:
- Added Python 3.11 wheels.
- KIP-222 Add Consumer Group operations to Admin API.
- KIP-518 Allow listing consumer groups per state.
- KIP-396 Partially implemented: support for AlterConsumerGroupOffsets.
- As result of the above KIPs, added (#1449)
list_consumer_groups
Admin operation. Supports listing by state.describe_consumer_groups
Admin operation. Supports multiple groups.delete_consumer_groups
Admin operation. Supports multiple groups.list_consumer_group_offsets
Admin operation. Currently, only supports 1 group with multiple partitions. Supports require_stable option.alter_consumer_group_offsets
Admin operation. Currently, only supports 1 group with multiple offsets.- Added
normalize.schemas
configuration property to Schema Registry client (@rayokota
, #1406)- Added metadata to
TopicPartition
type andcommit()
(#1410).- Added
consumer.memberid()
for getting member id assigned to the consumer in a consumer group (#1154).- Implemented
nb_bool
method for the Producer, so that the default (which uses len) will not be used. This avoids situations where producers with no enqueued items would evaluate to False (@vladz-sternum
, #1445).- Deprecated
AvroProducer
andAvroConsumer
. UseAvroSerializer
andAvroDeserializer
instead.- Deprecated
list_groups
. Uselist_consumer_groups
anddescribe_consumer_groups
instead.- Improved Consumer Example to show atleast once semantics.
- Improved Serialization and Deserialization Examples.
- Documentation Improvements.
... (truncated)
Commits
-
370d62e
Version upgrade to final version 2.1.0 (#1546) -
8fbc981
KIP-320: Allow fetchers to detect (#1540) -
26d40be
Avro schema references support (#1088) -
c771e17
JSON referenced schema support (#1514) -
6621187
Upgraded librdkafka to v2.1.0 (#1544) -
6a78a3a
Migrate Travis jobs to Semaphore (#1503) -
f3055be
Correct SchemaReferences in APIs that return Schemas (#1304) -
87686d0
Added password support for SSL private key of the cached schema registry clie... -
17029ad
Made num_partitions optional (#1515) -
6a3f438
Add linux ARM64 wheels block in Semaphore (#1496) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)