gsferreira.KafkaFlow.MediatR
1.0.2-alpha.0.1
This is a prerelease version of gsferreira.KafkaFlow.MediatR.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package gsferreira.KafkaFlow.MediatR --version 1.0.2-alpha.0.1
NuGet\Install-Package gsferreira.KafkaFlow.MediatR -Version 1.0.2-alpha.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="gsferreira.KafkaFlow.MediatR" Version="1.0.2-alpha.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add gsferreira.KafkaFlow.MediatR --version 1.0.2-alpha.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: gsferreira.KafkaFlow.MediatR, 1.0.2-alpha.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install gsferreira.KafkaFlow.MediatR as a Cake Addin #addin nuget:?package=gsferreira.KafkaFlow.MediatR&version=1.0.2-alpha.0.1&prerelease // Install gsferreira.KafkaFlow.MediatR as a Cake Tool #tool nuget:?package=gsferreira.KafkaFlow.MediatR&version=1.0.2-alpha.0.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
KafkaFlow.MediatR
Introduction
An Extension to KafkaFlow that adds MediatR as a Middleware.
Installation
dotnet add package gsferreira.KafkaFlow.MediatR
Documentation
How to use it:
services.AddKafka(kafka =>
kafka
.AddCluster(cluster => cluster
.WithBrokers(new[] { "localhost:9092" })
.AddConsumer(consumer => consumer
.Topic("sample-topic")
.WithGroupId("sample-group")
.WithBufferSize(100)
.WithWorkersCount(10)
.AddMiddlewares(middlewares => middlewares
// To Publish messages as Notifications
middlewares.AddMediatorNotifications(),
// To Send messages as Requests
middlewares.AddMediatorRequests()
)
)
));
Get in touch
License
KafkaFlow.MediatR is a free and open source project, released under the permissible MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
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 |
---|---|---|
3.0.0 | 2,673 | 12/5/2023 |
1.0.5-alpha.0.1 | 89 | 4/10/2023 |
1.0.4-alpha.0.2 | 76 | 4/10/2023 |
1.0.4-alpha.0.1 | 86 | 4/10/2023 |
1.0.3-alpha.0.4 | 59 | 12/5/2023 |
1.0.3-alpha.0.3 | 61 | 12/5/2023 |
1.0.3-alpha.0.2 | 63 | 12/5/2023 |
1.0.3-alpha.0.1 | 82 | 4/10/2023 |
1.0.2 | 505 | 4/6/2023 |
1.0.2-alpha.0.1 | 76 | 4/6/2023 |
1.0.0 | 204 | 3/29/2023 |
1.0.0-alpha.0.5 | 78 | 4/6/2023 |
1.0.0-alpha.0 | 80 | 4/6/2023 |