Releases: confluentinc/confluent-kafka-dotnet
Releases · confluentinc/confluent-kafka-dotnet
v1.8.0
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
andProtobufDeserializer
) 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 theUseDeprecatedFormat
configuration property totrue
.
(rayokota).
Security
- Upgraded the bundled zlib version from 1.2.8 to 1.2.11 in the librdkafka.redist NuGet package. The updated zlib version fixes
CVEs: CVE-2016-9840, CVE-2016-9841, CVE-2016-9842, CVE-2016-9843 See confluentinc/librdkafka#2934 for more information.
v1.7.0
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
- Updated
System.Net.Http
dependency to v4.3.4 (CVE-2018-8292)
v1.6.3
v1.6.2
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 toHandle
class (volgunin).
Fixes
- Fixed race condition in
ProtobufSerializer
(yurii-hunter).
v1.5.0
v1.4.3
v1.4.2
Fixes
- Maintenance release. Refer to the librdkafka release notes for more information.
- Fixed incorrect content-type header in Schema Registry HTTP requests (@jeremy001181).
v1.4.0
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 theProduceAsync
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 ofConfluent.SchemaRegistry
orConfluent.SchemaRegistry.Serdes
due to the switch to the official Apache Avro package which only targetsnetstandard2.0
. - Marked properties on
ConsumeResult
that simply delegate to the corresponding properties onConsumeResult.Message
as obsolete.
Fixes
- Fixed an
ArgumentNullException
regression inListGroups
(thanks to @andypook).
v1.3.0
Enhancements
- Added support for Subject Name Strategies to
Confluent.SchemaRegistry
(thanks to @fipil, @alexpedrero and @eroyal for their input). ConsumeResult
now throwsMessageNullException
, notNullReferenceException
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) prefixSchemaRegistry
. 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.