Table of Contents

Silverback 1 Release Notes

1.2.0

Released on 2020-01-04

What's New

  • Publish events to the internal bus as a consequence to the Kafka events such as partitions assigned or revoked (see Broker Callbacks) [#34]

1.1.0

Released on 2019-12-31

What's New

Breaking Changes

  • Replaced ISortedBehavior with a generic ISorted interface

1.0.5

Released on 2019-12-08

What's New

Fixes

  • Fix OutboundQueueHealthCheck [#43]
  • Remove automatic disposal of the KafkaProducer when a KafkaException is thrown (creating too many instances of the producer over a short time span could lead to too many active TCP connections)
  • Fix the bug preventing a KafkaConsumerEndpoint pointing to multiple topics to be successfully subscribed

1.0.4

Released on 2019-11-30

Fixes

  • Fix mortal loop issue: it is finally safe to consume and produce the same type of messages from within the same process (in a natural way, without any extra configuration)
    • Since version 1.0.0 the messages routed to an endpoint aren't forwarded to any subscriber directly
    • Now the inbound connector has been fixed as well, preventing the inbound messages to be immediately routed once again to the outbound endpoint and eliminating all possible causes of mortal loops

1.0.3

Released on 2019-11-20

What's New

Fixes

  • Forward Kafka message key as-is (not hashed anymore) to avoid possible collisions and simplify debugging

1.0.2

Released on 2019-11-19

Fixes

  • Reintroduce Add*Subscriber and Add*Behavior as IServiceCollection extension methods (for backward compatibility and greater flexibility) [#41]
  • Add WithInMemoryBroker and OverrideWithInMemoryBroker extension methods (see Testing)

1.0.0

Released on 2019-11-17

What's New

  • Optimize message size (no wrappers anymore)
  • Improve headers usage: identifiers, types, chunks information, etc. are now all sent in the headers
  • Review severity of some log entries
  • Improve and clean up internal implementation
  • Improve exception handling (flattening of AggregateException)
  • Upgrade to Confluent.Kafka 1.2.2
  • Add automatic recovers from fatal errors in KafkaConsumer (can be disabled via Endpoint configuration)
  • Support .Net Core 3.0 and Entity Framework Core 3.0
  • Refactor packages (EF binding logic is now in a single package, versioned after the related EF version)
  • Improve configuration API
  • Improve and optimize performance (including #37)
  • Improve database locks mechanism (used also to run the OutboundQueueWorker)

Fixes

  • Fix issue requiring types not implementing IMessage to be registered with HandleMessagesOfType<T> to consume them [#33]
  • Mitigate issue causing the DistributedBackgroundService to sometime fail to acquire the database lock [#39]
  • Fix partition key value being lost when using the DeferredOutboundConnector
  • Other small fixes to improve stability and reliability

Breaking Changes

  • By default the messages published via IPublisher that are routed to an outbound endpoint are not sent through to the internal bus and cannot therefore be subscribed locally, within the same process (see Producing Messages)
  • Some changes in IInboundMessage and IOutboundMessage interfaces
  • Changes to the schema of the outbox table (Silverback.Messaging.Connectors.Model.OutboundMessage)
  • The configuration fluent API changed quite a bit, refer to the current documentation
Important

WithConnectionTo<KafkaBroker> has to be replaced with WithConnectionToKafka in order for all features to work properly. When failing to do so no message key will be generated, causing the messages to land in a random partition and/or preventing to publish to a compacted topic. (see Kafka Keys and Partitioning)