Skip to content

Releases: confluentinc/confluent-kafka-dotnet

v2.5.3

03 Sep 05:40
5be2102
Compare
Choose a tag to compare

v2.5.3 is a maintenance release with the following fixes and enhancements:

Fixes

  • Properly handle messages with well-known types in Protobuf serializer
  • Use AES128_GCM in the Local KMS client, for consistency with Java/go
  • Include deleted schemas when getting schemas by subject and version
  • Handle signed ints when transforming Protobuf payloads
  • Allow null SchemaRegistryClient in AsyncSerde constructor

confluent-kafka-dotnet is based on librdkafka v2.5.3, see the librdkafka release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.5.2

07 Aug 07:21
385429a
Compare
Choose a tag to compare

Warning

Versions 2.5.0, 2.5.1 and 2.5.2 have a regression in which an assert is triggered during PushTelemetry call. This happens when no metric is matched on the client side among those requested by broker subscription.

You won't face any problem if:

  • Broker doesn't support KIP-714.
  • KIP-714 feature is disabled on the broker side.
  • KIP-714 feature is disabled on the client side. This is enabled by default. Set configuration enable.metrics.push to false.
  • If KIP-714 is enabled on the broker side and there is no subscription configured there.
  • If KIP-714 is enabled on the broker side with subscriptions that match the KIP-714 metrics defined on the client.

Having said this, we strongly recommend using v2.5.3 and above to not face this regression at all.

This is a maintenance release.

Fixes

  • Fix CSFLE (client-side field-level encryption) to use the Google Tink format for DEKs for interoperability with clients in other languages (Java, go, etc.).
  • Improve error when specifying an invalid KMS type for CSFLE
  • Enhance CSFLE examples with KMS configuration settings

v2.5.1

01 Aug 18:45
e52ed72
Compare
Choose a tag to compare

This is a maintenance release.

Fixes

  • Fix CSFLE (client-side field-level encryption) when using Azure Key Vault by specifying RsaOaep256 (instead of RsaOaep) for interoperability with clients in other languages (Java, go, etc.).
  • Fix AvroSerializer configuration to allow using schema normalization.
  • Upgrade Azure Identity library to 1.11.4 to address a vulnerability in previous versions.

v2.5.0

11 Jul 00:54
380d861
Compare
Choose a tag to compare

This is a feature release

Enhancements

  • References librdkafka.redist 2.5.0. Refer to the librdkafka v2.5.0 release notes for more information.
  • Add support for metadata and ruleSet in the schema registry client, which together support data
    contracts.
  • Add support for CSFLE (client-side field-level encryption) for AWS, Azure, GCP, and HashiCorp
    Vault. See the encryption examples in the examples directory.
  • Add support for CEL, CEL_FIELD, and JSONata rules.

Fixes

v2.4.0

07 May 16:42
32948fe
Compare
Choose a tag to compare

This is a feature release.

Enhancements

  • References librdkafka.redist 2.4.0. Refer to the librdkafka v2.4.0 release notes for more information.
  • KIP-848 EA: Added KIP-848 based new consumer group rebalance protocol.
    Integration tests running with the new consumer group protocol. The feature is an Early Access: not production ready. Please refer
    detailed doc for more information. (#2212).

2.3.0

25 Oct 16:04
007a8ba
Compare
Choose a tag to compare

This is a feature release.

Enhancements

  • References librdkafka.redist 2.3.0. Refer to the librdkafka v2.3.0 release notes for more information.
  • KIP-430:
    Return authorized operations in describe responses (#2021, @jainruchir).
  • KIP-396: Added support for ListOffsets Admin API (#2086).
  • Add Rack to the Node type, so AdminAPI calls can expose racks for brokers (currently, all Describe
    Responses) (#2021, @jainruchir).
  • Added support for external JSON schemas in JsonSerializer and JsonDeserializer (#2042).
  • Added compatibility methods to CachedSchemaRegistryClient (ISBronny, #2097).
  • Add support for AdminAPI DescribeCluster() and DescribeTopics() (#2021, @jainruchir).

2.2.0

12 Jul 15:12
19d4fa1
Compare
Choose a tag to compare

This is a feature release.

Enhancements

Fixes

2.1.1

04 May 10:01
0e6bc8b
Compare
Choose a tag to compare

This is a maintenance release.

Enhancements

2.1.0

06 Apr 14:21
de70d7d
Compare
Choose a tag to compare

This is a feature release.

Enhancements

  • References librdkafka.redist 2.1.0. Refer to the librdkafka v2.1.0 release notes and later ones for more information.
  • Added SetSaslCredentials. 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 (#1980).
  • Changed the way the _SCHEMA filed is accessed internally from reflecting the static field to accessing it from the instance (AlexeyRaga).
  • KIP-320: add offset leader epoch fields to the TopicPartitionOffset,
    TopicPartitionOffsetError and ConsumeResult classes (#2027).

Fixes

  • Fixed OverflowException thrown intermittently when using the ListGroup method (#2003).

2.0.2

23 Jan 17:04
8b96c6f
Compare
Choose a tag to compare

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 backward compatible.

Enhancements

  • References librdkafka.redist 2.0.2. Refer to the librdkafka v2.0.0 release notes and later ones for more information.
  • Upgraded NJsonSchema to v10.6.3
  • Added LatestCompatibilityStrict configuration property to JsonSerializerConfig to check the compatibility with latest schema when UseLatestVersion is set to true.
  • Added DeleteConsumerGroupOffset to AdminClient.
  • KIP-222 Finish remaining implementation: Add Consumer Group operations to Admin API (DeleteGroups is already present).
  • KIP-518 Allow listing consumer groups per state.
  • KIP-396 Partially implemented: support for AlterConsumerGroupOffsets.
  • As result of the above KIPs, added (#1981)
    • ListConsumerGroups Admin operation. Supports listing by state.
    • DescribeConsumerGroups Admin operation. Supports multiple groups.
    • ListConsumerGroupOffsets Admin operation. Currently, only supports
      1 group with multiple partitions. Supports the requireStable option.
    • AlterConsumerGroupOffsets Admin operation. Currently, only supports
      1 group with multiple offsets.

Fixes

  • During a group rebalance, partitions are now always revoked as a side effect of a call to Consume, whether or not a partitions revoked handler has been specified. Previously, if no handler was specified, the timing of when the consumer lost ownership of partitions during a rebalance was arbitrarily, frequently resulting in an erroneous state exception when committing or storing offsets.
  • Fixed 100% CPU usage with DependentAdminClientBuilder.

Note: There were no 2.0.0 and 2.0.1 releases.