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.
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
#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

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 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 811 12/5/2023
1.0.5-alpha.0.1 86 4/10/2023
1.0.4-alpha.0.2 73 4/10/2023
1.0.4-alpha.0.1 81 4/10/2023
1.0.3-alpha.0.4 57 12/5/2023
1.0.3-alpha.0.3 60 12/5/2023
1.0.3-alpha.0.2 61 12/5/2023
1.0.3-alpha.0.1 79 4/10/2023
1.0.2 414 4/6/2023
1.0.2-alpha.0.1 72 4/6/2023
1.0.0 201 3/29/2023
1.0.0-alpha.0.5 75 4/6/2023
1.0.0-alpha.0 76 4/6/2023