Silverback.Integration.Testing
5.0.0-beta.20
Prefix Reserved
dotnet add package Silverback.Integration.Testing --version 5.0.0-beta.20
NuGet\Install-Package Silverback.Integration.Testing -Version 5.0.0-beta.20
<PackageReference Include="Silverback.Integration.Testing" Version="5.0.0-beta.20" />
<PackageVersion Include="Silverback.Integration.Testing" Version="5.0.0-beta.20" />
<PackageReference Include="Silverback.Integration.Testing" />
paket add Silverback.Integration.Testing --version 5.0.0-beta.20
#r "nuget: Silverback.Integration.Testing, 5.0.0-beta.20"
#:package Silverback.Integration.Testing@5.0.0-beta.20
#addin nuget:?package=Silverback.Integration.Testing&version=5.0.0-beta.20&prerelease
#tool nuget:?package=Silverback.Integration.Testing&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)
- Silverback.Integration (>= 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 (2)
Showing the top 2 NuGet packages that depend on Silverback.Integration.Testing:
| Package | Downloads |
|---|---|
|
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. |
|
|
Silverback.Integration.MQTT.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 MQTT 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 | 45 | 2/15/2026 |
| 5.0.0-beta.19 | 562 | 12/1/2025 |
| 5.0.0-beta.18 | 256 | 11/10/2025 |
| 5.0.0-beta.17 | 191 | 10/20/2025 |
| 5.0.0-beta.16 | 141 | 10/20/2025 |
| 5.0.0-beta.15 | 148 | 10/20/2025 |
| 5.0.0-beta.14 | 149 | 10/6/2025 |
| 5.0.0-beta.13 | 177 | 9/24/2025 |
| 5.0.0-beta.12 | 262 | 9/19/2025 |
| 5.0.0-beta.11 | 179 | 8/20/2025 |
| 5.0.0-beta.10 | 156 | 8/19/2025 |
| 5.0.0-beta.9 | 152 | 7/16/2025 |
| 5.0.0-beta.8 | 161 | 7/16/2025 |
| 5.0.0-beta.7 | 164 | 7/16/2025 |
| 5.0.0-beta.6 | 204 | 5/4/2025 |
| 5.0.0-beta.5 | 176 | 4/27/2025 |
| 5.0.0-beta.4 | 121 | 4/26/2025 |
| 5.0.0-beta.3 | 199 | 4/21/2025 |
| 5.0.0-beta.2 | 194 | 4/21/2025 |
| 4.6.2 | 33,431 | 3/22/2025 |