Epam.Kafka.PubSub
2.1.55
Prefix Reserved
See the version list below for details.
dotnet add package Epam.Kafka.PubSub --version 2.1.55
NuGet\Install-Package Epam.Kafka.PubSub -Version 2.1.55
<PackageReference Include="Epam.Kafka.PubSub" Version="2.1.55" />
<PackageVersion Include="Epam.Kafka.PubSub" Version="2.1.55" />
<PackageReference Include="Epam.Kafka.PubSub" />
paket add Epam.Kafka.PubSub --version 2.1.55
#r "nuget: Epam.Kafka.PubSub, 2.1.55"
#:package Epam.Kafka.PubSub@2.1.55
#addin nuget:?package=Epam.Kafka.PubSub&version=2.1.55
#tool nuget:?package=Epam.Kafka.PubSub&version=2.1.55
Epam.Kafka.PubSub
About
Epam.Kafka.PubSub package provides AddSubscription and AddPublication extension methods for KafkaBuilder. This provides the ability to set up default implementations of IHostedService to read/write messages to/from kafka and proccess them in batches with:
* Retry mechanism for batch and for entire pipeline.
* Parallel and sequential processing configuration.
* Health checks.
* System.Diagnostics.Metrics for key operations.
* Delayed start, ability to wait for dependencies (e.g. database migrations).
Key Features
- Define
ISubscriptionHandler<TKey, TValue>interface and provide base abstract classSubscriptionHandler<TKey, TValue>to simplify creation of batch message processing logic for kafka subscriptions. - Define
IExternalOffsetsStorageinterface to store processed message offsets externally. Default implementation that use EntityFrameworkCore available in related package Epam.Kafka.PubSub.EntityFrameworkCore - Define
IPublicationHandler<TKey, TValue>interface and provide base abstract classPublicationHandler<TKey, TValue, TEntity>to simplify creation of batch processing logic for data publishers.
How to Use
Create subscription
Create class derived from SubscriptionHandler<TKey, TValue> or ISubscriptionHandler<TKey, TValue>.
Register services and configure subscription.
KafkaBuilder kafkaBuilder = services.AddKafka();
kafkaBuilder.AddSubscription<string, KafkaEntity, SubscriptionHandlerSample>("Sample");
Create publication
Create class derived from IPublicationHandler<TKey, TValue>.
Register services and configure publication.
KafkaBuilder kafkaBuilder = services.AddKafka();
kafkaBuilder.AddPublication<string, KafkaEntity, PublicationHandlerSample>("Sample")
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Epam.Kafka (>= 2.1.55)
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Polly (>= 8.4.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
.NETStandard 2.0
- Epam.Kafka (>= 2.1.55)
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Polly (>= 8.4.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
net6.0
- Epam.Kafka (>= 2.1.55)
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Polly (>= 8.4.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
net8.0
- Epam.Kafka (>= 2.1.55)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- Polly (>= 8.4.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Epam.Kafka.PubSub:
| Package | Downloads |
|---|---|
|
Epam.Kafka.PubSub.EntityFrameworkCore
EntityFrameworkCore implementation for key abstractions defined in [Epam.Kafka.PubSub](https://www.nuget.org/packages/Epam.Kafka.PubSub) |
|
|
Epam.Kafka.PubSub.EntityFramework6
EntityFramework 6 (https://learn.microsoft.com/en-us/ef/ef6/) implementation for key abstractions defined in [Epam.Kafka.PubSub](https://www.nuget.org/packages/Epam.Kafka.PubSub) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.5.260 | 2,729 | 6/23/2025 |
| 2.5.251-rc | 284 | 6/23/2025 |
| 2.5.246-rc | 227 | 2/25/2025 |
| 2.5.244 | 19,120 | 2/12/2025 |
| 2.5.241-rc | 255 | 2/12/2025 |
| 2.5.240-rc | 200 | 2/11/2025 |
| 2.5.239-rc | 226 | 2/10/2025 |
| 2.5.237-rc | 210 | 2/7/2025 |
| 2.5.236-rc | 213 | 2/7/2025 |
| 2.5.233 | 1,831 | 2/7/2025 |
| 2.5.229 | 308 | 2/6/2025 |
| 2.5.225-rc | 218 | 2/6/2025 |
| 2.5.224-rc | 218 | 2/6/2025 |
| 2.5.219-rc | 224 | 2/4/2025 |
| 2.5.218-rc | 240 | 2/4/2025 |
| 2.5.215-rc | 228 | 2/3/2025 |
| 2.5.214-rc | 227 | 2/3/2025 |
| 2.5.213-rc | 243 | 1/31/2025 |
| 2.5.210-rc | 277 | 1/30/2025 |
| 2.1.55 | 500 | 6/7/2024 |
Implementation for EntityFramework6 added in Epam.Kafka.PubSub.EntityFramework6 package. Separate summary health checks for subscriptions and publications added. Polly updated to 8.4.0.