Silverback.Core.Rx
5.7.1
Prefix Reserved
dotnet add package Silverback.Core.Rx --version 5.7.1
NuGet\Install-Package Silverback.Core.Rx -Version 5.7.1
<PackageReference Include="Silverback.Core.Rx" Version="5.7.1" />
<PackageVersion Include="Silverback.Core.Rx" Version="5.7.1" />
<PackageReference Include="Silverback.Core.Rx" />
paket add Silverback.Core.Rx --version 5.7.1
#r "nuget: Silverback.Core.Rx, 5.7.1"
#:package Silverback.Core.Rx@5.7.1
#addin nuget:?package=Silverback.Core.Rx&version=5.7.1
#tool nuget:?package=Silverback.Core.Rx&version=5.7.1
Silverback
Simplicity at its core. Flexibility at its peak. Effortless messaging for .NET.
Silverback is a message bus and broker integration library to build event-driven architectures with first-class support for Apache Kafka and MQTT.
Documentation, guides, and samples are available at https://silverback-messaging.net.
Produce and Consume in a Few Lines
Configure the broker connection, the producer and consumer endpoints, and a subscriber. Silverback takes care of serialization, headers, error handling and delivery.
services.AddSilverback()
.WithConnectionToMessageBroker(options => options.AddKafka())
.AddKafkaClients(clients => clients
.WithBootstrapServers("PLAINTEXT://localhost:9092")
.AddProducer(producer => producer
.Produce<OrderCreated>(endpoint => endpoint
.ProduceTo("orders")))
.AddConsumer(consumer => consumer
.WithGroupId("billing")
.Consume<OrderCreated>(endpoint => endpoint
.ConsumeFrom("orders")
.OnError(policy => policy.Retry(3).ThenSkip()))))
.AddSingletonSubscriber<OrderCreatedHandler>();
// Publish: the message is routed to the "orders" topic
await publisher.PublishAsync(new OrderCreated(orderId));
// Consume: the subscriber is invoked for each consumed message
public class OrderCreatedHandler
{
public Task HandleAsync(OrderCreated message) => ...;
}
Follow the Quickstart for a complete, runnable walkthrough.
Why Silverback
- Kafka-first, not Kafka-only – a consistent, fluent API for Kafka and MQTT that still surfaces partitions, keys, tombstones and transactions.
- Reliable by design – transactional outbox, error policies (retry, skip, move) and storage-backed offsets and locks.
- Built for throughput – partition-based parallelism, batch processing, streaming and chunking of large payloads.
- Cross-cutting features – serialization, Schema Registry (JSON, Avro, Protobuf), headers, validation and end-to-end encryption.
- Observable – structured logging, distributed tracing via
System.Diagnosticsand health checks. - Testable – in-memory Kafka and MQTT brokers and testing helpers for fast and reliable end-to-end tests.
Packages
Silverback is modular – reference only what you need.
Core:
- Silverback.Core – message bus and core messaging components.
- Silverback.Core.Model – message semantics for event-driven/CQRS scenarios.
Broker integration:
- Silverback.Integration.Kafka – Kafka support.
- Silverback.Integration.MQTT – MQTT support.
Optional features:
- Silverback.Core.Rx – Rx.NET integration.
- Silverback.Integration.Newtonsoft – Newtonsoft.Json serialization.
- Silverback.Integration.Kafka.SchemaRegistry – Confluent Schema Registry integration (Avro, Protobuf and JSON).
- Silverback.Integration.HealthChecks – health checks for the consumers and the outbox.
Storage (for outbox, client-side offsets, distributed locks):
- Silverback.Storage.PostgreSql
- Silverback.Storage.Sqlite
- Silverback.Storage.EntityFramework
- Silverback.Storage.Memory
Testing:
- Silverback.Integration.Testing – broker-independent testing helpers.
- Silverback.Integration.Kafka.Testing – in-memory Kafka broker.
- Silverback.Integration.MQTT.Testing – in-memory MQTT broker.
Supported .NET Versions
Starting with v5, Silverback targets the latest .NET LTS (Long-Term Support) version only. It can run on newer compatible .NET versions (including STS releases), but older frameworks are no longer targeted or supported.
Documentation
The quickstart, guides, samples, FAQ and API reference are available at https://silverback-messaging.net.
Community
- Source code – the GitHub repository.
- Issues – report bugs or suggest improvements.
- Discussions – ask questions and share ideas.
License
Silverback is open source, licensed under the MIT License and maintained by Sergio Aquilini. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- JetBrains.Annotations (>= 2026.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Silverback.Core (>= 5.7.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Reactive (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.7.1 | 0 | 11/5/2026 |
| 5.7.0 | 60 | 11/2/2026 |
| 5.6.0 | 89 | 10/29/2026 |
| 5.5.2 | 175 | 9/10/2026 |
| 5.5.1 | 131 | 8/26/2026 |
| 5.5.0 | 136 | 8/16/2026 |
| 5.4.2 | 143 | 8/4/2026 |
| 5.4.1 | 144 | 7/29/2026 |
| 5.4.1-beta.1 | 91 | 7/28/2026 |
| 5.4.0 | 133 | 7/28/2026 |
| 5.4.0-beta.2 | 88 | 7/23/2026 |
| 5.4.0-beta.1 | 95 | 7/22/2026 |
| 5.3.4-beta.1 | 92 | 7/1/2026 |
| 5.3.3 | 152 | 6/1/2026 |
| 5.3.2 | 140 | 6/1/2026 |
| 5.3.2-beta.1 | 89 | 6/1/2026 |
| 5.3.1 | 133 | 5/25/2026 |
| 5.3.0 | 150 | 4/26/2026 |
| 5.2.2 | 154 | 4/26/2026 |
| 4.7.0 | 133 | 5/20/2026 |