Commify.Titan.API.Event.Consumer
0.5.0
See the version list below for details.
dotnet add package Commify.Titan.API.Event.Consumer --version 0.5.0
NuGet\Install-Package Commify.Titan.API.Event.Consumer -Version 0.5.0
<PackageReference Include="Commify.Titan.API.Event.Consumer" Version="0.5.0" />
<PackageVersion Include="Commify.Titan.API.Event.Consumer" Version="0.5.0" />
<PackageReference Include="Commify.Titan.API.Event.Consumer" />
paket add Commify.Titan.API.Event.Consumer --version 0.5.0
#r "nuget: Commify.Titan.API.Event.Consumer, 0.5.0"
#:package Commify.Titan.API.Event.Consumer@0.5.0
#addin nuget:?package=Commify.Titan.API.Event.Consumer&version=0.5.0
#tool nuget:?package=Commify.Titan.API.Event.Consumer&version=0.5.0
Commify.Titan.API.Event.Consumer
Self-contained NuGet package that enables adding event consumption functionality (via Wolverine & RabbitMQ) to any .NET 8 app.
Contact
Titan API Team
Configuration
The necessary configuration in appsettings is:
"Event": {
"EventConsumer": {
"RabbitMqHostName": "localhost",
"RabbitMqPort": 5672,
"RabbitMqUserName": "guest",
"RabbitMqPassword": "guest",
"RabbitMqUseSsl": false,
"PreFetchCount": 100,
"ListenerCount": 10
// "RabbitMqConnectionString": "..." // Optional: Overrides Host/Port/Creds if set
}
}
and
"Identity": {
"WorkstreamToken": {
"KeyVaultUrl": "https://my-key-vault.net/",
"ManagedIdentity": "managedIdentityId"
},
"Mappings": [
{
"Key": "example-service",
"Value": "exampleServiceId"
}
]
}
and in environment variables: <samp>K8S_POD_NAME</samp> (Required for unique queue generation)
Usage
To enable it, this component offers an extension method over <samp>IServiceCollection</samp> called <samp>RegisterEventConsumerComponents<T></samp>, where T is a a class that implements <samp>IEventConsumer</samp>.
| 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
- Commify.Titan.API.CommonComponents (>= 0.5.0)
- Commify.Titan.TokenRetrieval.Nuget (>= 0.5.0)
- WolverineFx.RabbitMQ (>= 5.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.