Nano.Eventing.RabbitMq
10.0.0-preview1
See the version list below for details.
dotnet add package Nano.Eventing.RabbitMq --version 10.0.0-preview1
NuGet\Install-Package Nano.Eventing.RabbitMq -Version 10.0.0-preview1
<PackageReference Include="Nano.Eventing.RabbitMq" Version="10.0.0-preview1" />
<PackageVersion Include="Nano.Eventing.RabbitMq" Version="10.0.0-preview1" />
<PackageReference Include="Nano.Eventing.RabbitMq" />
paket add Nano.Eventing.RabbitMq --version 10.0.0-preview1
#r "nuget: Nano.Eventing.RabbitMq, 10.0.0-preview1"
#:package Nano.Eventing.RabbitMq@10.0.0-preview1
#addin nuget:?package=Nano.Eventing.RabbitMq&version=10.0.0-preview1&prerelease
#tool nuget:?package=Nano.Eventing.RabbitMq&version=10.0.0-preview1&prerelease
Nano.Eventing.RabbitMq
RabbitMq eventing for Nano applications.
Table of Contents
Summary
Eventing Provider implementation for RabbitMq.
📖 Learn more about Nano Eventing.
📖 Learn more about Nano Kubernetes RabbitMq.
Try it out yourself using the Api.Eventing.RabbitMq or Console.Eventing.RabbitMq example.
Registration
Install the Nano.Eventing.RabbitMq NuGet package.
dotnet add package Nano.Eventing.RabbitMq;
Continue with registering the RabbitMqProvider provider during application startup in the ConfigureServices(...) method.
...
.ConfigureServices(services =>
{
services
.AddNanoEventing<RabbitMqProvider>();
})
...
Configuration
Add the eventing configuration.
"Eventing": {
"Host": null,
"VHost": null,
"Port": 5672,
"Timeout": 30,
"UseSsl": false,
"Heartbeat": 60,
"PrefetchCount": 50,
"Credentials": {
"Id": null,
"Secret": null
}
"HealthCheck": {
"UnhealthyStatus": "Unhealthy"
}
}
Docker Compose
In addition to registering and configuring storage, you also need to configure your docker-compose setup. The rabbitmq image is the manangement image, so you are able to access the interface here: http://localhost:15672 and monitor and observe event messages being published and consumed.
services:
{service-name}:
depends_on:
- eventing
eventing:
image: rabbitmq:management
hostname: rabbitmq
ports:
- 5671:5671
- 5672:5672
- 15671:15671
- 15672:15672
networks:
- network
environment:
RABBITMQ_DEFAULT_USER: rabbitmq_user
RABBITMQ_DEFAULT_PASS: password
RABBITMQ_DEFAULT_VHOST: "/"
Kubernetes
Next, add the following to your Kubernetes deployment.yaml or cronjob.yaml (depending on application type) for the Nano application.
spec:
template:
spec:
containers:
env:
- name: Eventing__Credentials__Secret
valueFrom:
secretKeyRef:
name: rabbitmq
key: rabbitmq-password
You also need to map the rabbitmq secret that is created alongside the Nano Azure Kuberenetes Eventing
in the deployment.yaml or cronjob.yaml for eventing authentication.
⚠️ The
rabbitmqsecret will be reused for all applications using RabbitMQ as eventing provider.
That makes it easy to change the secret values later on when needed, and just requires the secret values to be updated and re-deployed.
| 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
- AspNetCore.HealthChecks.Rabbitmq (>= 9.0.0)
- EasyNetQ (>= 8.1.2)
- EasyNetQ.DI.Microsoft (>= 8.0.0-beta96)
- EasyNetQ.Serialization.NewtonsoftJson (>= 8.1.2)
- Nano.Eventing (>= 10.0.0-preview1)
- Nano.Logging.Abstractions (>= 10.0.0-preview1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nano.Eventing.RabbitMq:
| Package | Downloads |
|---|---|
|
Nano.All
This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-preview2 | 72 | 4/25/2026 |
| 10.0.0-preview1 | 78 | 4/24/2026 |
- .NET 10 support.
- Comprehensive rewrite with performance optimizations, improvements, and bug fixes.
- Not compatible with previous versions of Nano.