github confluentinc/confluent-kafka-dotnet v1.0-RC1

latest releases: v1.8.2, v1.8.1, v1.8.0...
pre-release5 years ago

New Features

  • Added GET subject versions to the cached schema registry client.
  • References librdkafka.redist 1.0.0-RC9
    • supports apline linux out-of-the-box.
    • fallback support (that excludes security features) for most linux distributions previously unsuppored out-of-the-box.
    • fixed a dependency issue on MacOS

Changes

  • A new rebalance API.
    • SetRebalanceHandler has been split into SetPartitionsAssignedHandler and SetPartitionsRevokedHandler.
    • Calling of Assign/Unassign in these handlers is prohibited.
    • Partitions to read from / start offsets can be optionally specified manually via the return value from these handlers.
  • The Message.PersistenceStatus property name has changed to Message.Status.
  • Moved the GetWatermarkOffsets and QueryWatermarkOffsets methods from admin client to consumer.
  • Context is now provided to serdes via a SerializationContext class instance.
  • All errors (that don't correspond to application logic errors) that occur as the result of a call to the produce and consume methods are now reported via exceptions of type ProduceException and ConsumeException.

Fixes

  • Corrected an error in the rd_kafka_event_type method signature which was causing incompatibility with mono.
  • Audited exception use across the library and made changes in various places where appropriate.
  • Removed unused CancellationToken parameters (we will add them back when implemented).
  • Builder classes now return interfaces, not concrete classes.
  • Removed the dependency on CompilerServices.Unsafe which was causing ProduceAsync to hang in some scenarios.
  • Fixed a deadlock-on-dispose issue in AdminClient.
  • Made Producer.ProduceAsync async.
  • Fixed deadlock in BeginProduce and Consume when using async serdes in a single threaded context.

Don't miss a new confluent-kafka-dotnet release

NewReleases is sending notifications on new releases.