OfX-Kafka
4.1.2
See the version list below for details.
dotnet add package OfX-Kafka --version 4.1.2
NuGet\Install-Package OfX-Kafka -Version 4.1.2
<PackageReference Include="OfX-Kafka" Version="4.1.2" />
paket add OfX-Kafka --version 4.1.2
#r "nuget: OfX-Kafka, 4.1.2"
// Install OfX-Kafka as a Cake Addin #addin nuget:?package=OfX-Kafka&version=4.1.2 // Install OfX-Kafka as a Cake Tool #tool nuget:?package=OfX-Kafka&version=4.1.2
OfX-Kafka
OfX-Kafka is an extension package for OfX that leverages Kafka for efficient data transportation. This package provides a high-performance, strongly-typed communication layer for OfX’s Attribute-based Data Mapping, enabling streamlined data retrieval across distributed systems.
Introduction
Kafka-based Transport: Implements Kafka to handle data communication between services, providing a fast, secure, and scalable solution.
Installation
To install the OfX-Kafka package, use the following NuGet command:
dotnet add package OfX-Kafka
Or via the NuGet Package Manager:
Install-Package OfX-Kafka
How to Use
1. Register OfX-Kafka
Add OfX-Kafka to your service configuration during application startup:
builder.Services.AddOfX(cfg =>
{
cfg.AddContractsContainNamespaces(typeof(SomeContractAssemblyMarker).Assembly);
cfg.AddKafka(c => c.Host("localhost:9092"));
});
...
var app = builder.Build();
app.Run();
Note:
OfX-Kafka uses topics that start with ofx-response-topic-[application.friendly.name]
. Therefore, you should avoid using other topics. Additionally, OfX-Kafka automatically creates the topic ofx-request-topic-[ofx.attribute.metadata]
, so you should avoid creating a topic with the same name in your application.
That All, enjoy your moment!
Package Name | Description | .NET Version | Document |
---|---|---|---|
Core | |||
OfX | OfX core | 8.0, 9.0 | ReadMe |
Data Providers | |||
OfX-EFCore | This is the OfX extension package using EntityFramework to fetch data | 8.0, 9.0 | ReadMe |
Transports | |||
OfX-gRPC | OfX.gRPC is an extension package for OfX that leverages gRPC for efficient data transportation. | 8.0, 9.0 | ReadMe |
OfX-Kafka | OfX-Kafka is an extension package for OfX that leverages Kafka for efficient data transportation. | 8.0, 9.0 | This Document |
OfX-Nats | OfX-Nats is an extension package for OfX that leverages Nats for efficient data transportation. | 8.0, 9.0 | ReadMe |
OfX-RabbitMq | OfX-RabbitMq is an extension package for OfX that leverages RabbitMq for efficient data transportation. | 8.0, 9.0 | ReadMe |
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 is compatible. 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. |
-
net8.0
- Confluent.Kafka (>= 2.8.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- OfX (>= 4.1.2)
-
net9.0
- Confluent.Kafka (>= 2.8.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- OfX (>= 4.1.2)
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 |
---|---|---|
4.1.3 | 0 | 2/11/2025 |
4.1.2 | 0 | 2/11/2025 |
4.1.1 | 37 | 2/9/2025 |
4.1.0 | 40 | 2/8/2025 |
4.0.1 | 35 | 2/6/2025 |
4.0.0 | 61 | 2/4/2025 |
3.3.3 | 69 | 2/4/2025 |
3.3.2 | 75 | 2/3/2025 |
3.3.1 | 64 | 2/1/2025 |
3.3.0 | 62 | 1/22/2025 |
3.2.1 | 69 | 1/22/2025 |
3.2.0 | 68 | 1/21/2025 |
3.1.13 | 68 | 1/18/2025 |
3.1.12 | 69 | 1/16/2025 |
3.1.11 | 36 | 1/13/2025 |