Skip to content

v5.8.0

Choose a tag to compare

@BEagle1984 BEagle1984 released this 08 Nov 19:32
· 126 commits to main since this release
70f54a5

What's New

  • Improve the parallel invocation of the subscribers and the broker clients
  • Reduce logger allocations, especially for disabled logs
  • Get a Kafka admin client for a configured producer, consumer or endpoint through the IConfluentAdminClientFactory [#139]
  • Subscribe the Kafka consumer endpoints to the topics matching a regular expression
  • Support topic creation and full metadata in the mocked Kafka admin client

Fixes

  • Apply the error policies when the consumer commit fails
  • Disconnect the broker client when an Initialized event handler fails
  • Fix message routing when a message is published before the broker clients are initialized [#280]
  • Prevent the Kafka consumer commit from failing during the client initialization
  • Prevent the Kafka consumer shutdown from failing or hanging during a partition assignment
  • Consume the partitions assigned to a Kafka consumer while it's stopping, once it's restarted
  • Skip the Silverback log when a Kafka log or error callback returns true
  • Prevent a fatal error when a message is retried while using the Kafka client side offset store
  • Fix the first produce failing when a Kafka transactional producer endpoint has a friendly name
  • Revoke the partitions of a mocked Kafka consumer leaving the group
  • Wait for all the topics of the Kafka endpoints with multiple topics or a static partition in WaitUntilAllMessagesAreConsumedAsync and WaitUntilAllMessagesAreCommittedAsync
  • Prevent MQTT consumers from hanging when an error policy handles a failed QoS 2 acknowledgement
  • Apply the configured timeout to the MQTT connection attempts [#278]
  • Keep the configured name for the Kafka and MQTT producers with a single endpoint, instead of appending an index
  • Report the MQTT consumer as connected only after its topics are subscribed
  • Route the parent level of an MQTT multi-level wildcard filter (a for a/#) and stop routing the $ topics to the filters starting with a wildcard
  • Validate the MQTT topic filters and shared subscriptions, and reject the same topic subscribed more than once through shared subscriptions
  • Log an error when the MQTT broker rejects a subscription, and don't report the consumer as connected if all its topics are rejected
  • Distribute the messages of the mocked MQTT shared subscriptions round-robin among the connected clients, with a copy per shared subscription, and fix their unsubscribe
  • Prevent the mocked MQTT broker from failing when publishing while a client connects or disconnects
  • Wait for the topics matched by the MQTT consumer endpoint filters in WaitUntilAllMessagesAreConsumedAsync
  • Prevent the mocked MQTT pending messages count from getting stuck when a message is handled before being counted
  • Fix the event name of IntegrationLogEvents.EndpointBuilderError

See docs for details.