Skip to content

Releases: confluentinc/confluent-kafka-dotnet

v1.8.0

05 Oct 12:37
eaa450f
Compare
Choose a tag to compare

Enhancements

  • References librdkafka.redist 1.8.0. Refer to the librdkafka release notes
    for a complete list of changes, enhancements, fixes and upgrade considerations.
  • Added the UseLatestVersion configuration property to the Protobuf, JSON Schema and Avro serdes (rayokota).

Fixes

  • Breaking Change: Updated the message framing format used by the Protobuf serdes (ProtobufSerializer and ProtobufDeserializer) to be
    compatible with the Java Protobuf serdes (message indices now use zigzag encoding). Note: This framing encodes schema metadata, enabling
    integration with Confluent Schema Registry. To disable, set the UseDeprecatedFormat configuration property to true.
    (rayokota).

Security

v1.7.0

19 May 20:46
Compare
Choose a tag to compare

Enhancements

  • References librdkafka.redist 1.7.0. Refer to the librdkafka release notes for a complete
    list of changes, enhancements, fixes and upgrade considerations.
  • Added OAuth support to AdminClient (jerive)

Fixes

  • Resolved a schema caching bug (#1587) in CachedSchemaRegistryClient.GetSchemaIdAsync (jeremy001181).
  • Fixed a configuration error in the Web example (cjgalione).

Security

v1.6.3

19 Mar 13:28
643c8fd
Compare
Choose a tag to compare

Fixes

  • References Apache.Avro v1.10.2, which resolves an issue with large string deserialization AVRO-3005.

v1.6.2

25 Feb 14:23
dddfb93
Compare
Choose a tag to compare

Enhancements

  • References librdkafka.redist 1.6.1. Refer to the 1.6.0 and 1.6.1 release notes for more information. Headline features:
    • KIP-429: Incremental rebalancing.
    • KIP-447: Producer scalability for exactly once semantics.
    • KIP-480: Sticky partitioner.
  • KIP-22: Support for custom partitioners.
  • Confluent.Kafka can now be used with Mono on Linux and MacOS. Note: Mono is not a supported runtime.
  • The debian9-librdkafka.so build of librdkafka has been replaced with a more portable one: centos6-librdkafka.so (note: Debian 9 is still supported).
  • Exceptions thrown by Producer.Produce now include an inner exception with additional context on the error (joostas).
  • Added ConfigureAwait(false) to async methods in the Avro Serdes.
  • Added IsInvalid property to Handle class (volgunin).

Fixes

  • Fixed race condition in ProtobufSerializer (yurii-hunter).

v1.5.0

22 Jul 18:52
ee56009
Compare
Choose a tag to compare
  • References librdkafka 1.5.0 which brings many small improvements and bug fixes (and no new large features). Refer to the release notes for more information.
  • Added support for Schema Registry SSL Authentication (@dinegri).

v1.4.3

19 May 15:19
4ec62f8
Compare
Choose a tag to compare

Fixes

  • Subject names are now URL encoded when used in Schema Registry URLs.
  • Fixed a memory leak that occured when passing a CancellationToken to Producer.ProduceAsync.

v1.4.2

06 May 17:44
d1bc5e3
Compare
Choose a tag to compare

Fixes

v1.4.0

03 Apr 15:19
25f320a
Compare
Choose a tag to compare

Enhancements

  • References librdkafka v1.4.0. Refer to the release notes for more information. Headline features:
    • KIP-98: Producer support for transactions (@edenhill). This is the final piece in the puzzle required to enable exactly once stream processing (EOS) in .NET.
    • KIP-345: Static consumer group membership (@rnpridgeon).
    • KIP-511: Client name and version are now provided to brokers.
  • Added Protobuf and JSON serdes including integration with Schema Registry.
  • Switched to the official Apache Avro nuget package, which includes support for logical types, and all fixes from the Confluent fork, which has now been discontinued.
  • Message headers are now exposed to serdes via SerializationContext (@pascalconfluent).
  • Added a CancellationToken parameter to the ProduceAsync methods.
  • Uncaught exceptions thrown in handler methods are now propagated to the initiating function, or in the case of error or log events, ignored. Previously, they would cause the application to terminate.
  • Added a WordCount example demonstrating a streaming map-reduce application with exactly-once processing.

Changes

  • Some internal improvements to the Consmer (thanks to @andypook).
  • BREAKING CHANGE: net452 is no longer a target framework of Confluent.SchemaRegistry or Confluent.SchemaRegistry.Serdes due to the switch to the official Apache Avro package which only targets netstandard2.0.
  • Marked properties on ConsumeResult that simply delegate to the corresponding properties on ConsumeResult.Message as obsolete.

Fixes

  • Fixed an ArgumentNullException regression in ListGroups (thanks to @andypook).

v1.3.0

04 Dec 00:25
91cb778
Compare
Choose a tag to compare

Enhancements

  • Added support for Subject Name Strategies to Confluent.SchemaRegistry (thanks to @fipil, @alexpedrero and @eroyal for their input).
  • ConsumeResult now throws MessageNullException, not NullReferenceException when a message property is accessed but no message exists (thanks to @enzian for this change).
  • References librdkafka v1.3.0. Refer to the release notes for more information. Headline feature is support for fetch from follower (KIP-392).

Changes

  • Deprecated properties of SchemaRegistryConfig with the (superfluous) prefix SchemaRegistry. Added corresponding properties without this prefix.

Fixes

  • Resolved issue 993 whereby RestService was unable to communicate with Schema Registry hosted on a non-root path. Thanks to @jonathansant for this fix.

v1.2.2

14 Nov 22:10
Compare
Choose a tag to compare

Fixes

  • References librdkafka v1.2.2 which upgrades the lz4 dependency to v1.9.2.