Silverback.Integration
5.0.0-beta.20
Prefix Reserved
dotnet add package Silverback.Integration --version 5.0.0-beta.20
NuGet\Install-Package Silverback.Integration -Version 5.0.0-beta.20
<PackageReference Include="Silverback.Integration" Version="5.0.0-beta.20" />
<PackageVersion Include="Silverback.Integration" Version="5.0.0-beta.20" />
<PackageReference Include="Silverback.Integration" />
paket add Silverback.Integration --version 5.0.0-beta.20
#r "nuget: Silverback.Integration, 5.0.0-beta.20"
#:package Silverback.Integration@5.0.0-beta.20
#addin nuget:?package=Silverback.Integration&version=5.0.0-beta.20&prerelease
#tool nuget:?package=Silverback.Integration&version=5.0.0-beta.20&prerelease
Silverback is a message bus and broker integration library for .NET. It helps you build event-driven architectures and asynchronous workflows with first-class support for Apache Kafka and MQTT.
Silverback aims to be both high-level (consistent configuration and developer experience) and broker-aware. Kafka is a first-class citizen: features like partition-based parallelism, keys/partitioning, tombstones, Schema Registry integration, idempotency, and transactions are surfaced where they matter, instead of being abstracted away.
Why Silverback
- Kafka-first, not Kafka-only – a consistent API across brokers, while still leveraging Kafka-specific capabilities.
- Reliable by design – transactional outbox, error policies, and storage-backed features.
- Operational usability – structured logging, diagnostics, and tracing.
- Built-in cross-cutting features – headers, validation, encryption, chunking, batching.
- Testability – in-memory broker mocks and end-to-end helpers.
Documentation, guides, and samples are available here: https://silverback-messaging.net
Project Status
Continuous Build
Sonar Build
Quality Metrics
Activity
Getting Started
Silverback is modular – reference only what you need.
Packages
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.Newtonsoft – Newtonsoft.Json serialization.
- Silverback.Kafka.SchemaRegistry – Confluent Schema Registry integration.
Storage (for outbox, client-side offsets, distributed locks):
- Silverback.Storage.PostgreSql
- Silverback.Storage.Sqlite
- Silverback.Storage.EntityFramework
- Silverback.Storage.Memory
Testing:
Quick Example (Kafka)
services.AddSilverback()
.WithConnectionToMessageBroker(options => options.AddKafka())
.AddKafkaClients(clients => clients
.WithBootstrapServers("PLAINTEXT://localhost:9092")
.AddProducer(producer => producer
.Produce<MyMessage>(endpoint => endpoint.ProduceTo("my-topic")))
.AddConsumer(consumer => consumer
.Consume<MyMessage>(endpoint => endpoint.ConsumeFrom("my-topic"))));
Usage
See the docs site for guides, API reference, and runnable examples:
Contributing
See CONTRIBUTING.md.
License
MIT License. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- JetBrains.Annotations (>= 2025.2.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- Silverback.Core (>= 5.0.0-beta.20)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Linq.Async (>= 7.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Channels (>= 8.0.0)
NuGet packages (17)
Showing the top 5 NuGet packages that depend on Silverback.Integration:
| Package | Downloads |
|---|---|
|
Silverback.Integration.Kafka
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package contains an implementation of Silverback.Integration for the popular Apache Kafka message broker. |
|
|
Silverback.Integration.HealthChecks
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package contains the extensions for Microsoft.Extensions.Diagnostics.HealthChecks to monitor the connection to the message broker. |
|
|
Silverback.Integration.Kafka.SchemaRegistry
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package adds the support for Apache Avro and the schema registry on top of Silverback.Integration.Kafka. |
|
|
Silverback.Integration.Testing
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package adds some utilities to help writing automated tests involving Silverback.Integration. |
|
|
Silverback.Integration.Kafka.Testing
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package adds a mocked implementation of the Kafka broker, suitable for in-memory testing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0-beta.20 | 57 | 2/15/2026 |
| 5.0.0-beta.19 | 575 | 12/1/2025 |
| 5.0.0-beta.18 | 264 | 11/10/2025 |
| 5.0.0-beta.17 | 198 | 10/20/2025 |
| 5.0.0-beta.16 | 149 | 10/20/2025 |
| 5.0.0-beta.15 | 158 | 10/20/2025 |
| 5.0.0-beta.14 | 158 | 10/6/2025 |
| 5.0.0-beta.13 | 216 | 9/24/2025 |
| 5.0.0-beta.12 | 269 | 9/19/2025 |
| 5.0.0-beta.11 | 178 | 8/20/2025 |
| 5.0.0-beta.10 | 150 | 8/19/2025 |
| 5.0.0-beta.9 | 178 | 7/16/2025 |
| 5.0.0-beta.8 | 163 | 7/16/2025 |
| 5.0.0-beta.7 | 160 | 7/16/2025 |
| 5.0.0-beta.6 | 199 | 5/4/2025 |
| 5.0.0-beta.5 | 198 | 4/27/2025 |
| 5.0.0-beta.4 | 145 | 4/26/2025 |
| 5.0.0-beta.3 | 220 | 4/21/2025 |
| 5.0.0-beta.2 | 212 | 4/21/2025 |
| 4.6.2 | 90,654 | 3/22/2025 |