CyberEye.EventBusKafka.Lib 3.0.34

dotnet add package CyberEye.EventBusKafka.Lib --version 3.0.34
                    
NuGet\Install-Package CyberEye.EventBusKafka.Lib -Version 3.0.34
                    
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="CyberEye.EventBusKafka.Lib" Version="3.0.34" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CyberEye.EventBusKafka.Lib" Version="3.0.34" />
                    
Directory.Packages.props
<PackageReference Include="CyberEye.EventBusKafka.Lib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CyberEye.EventBusKafka.Lib --version 3.0.34
                    
#r "nuget: CyberEye.EventBusKafka.Lib, 3.0.34"
                    
#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.
#:package CyberEye.EventBusKafka.Lib@3.0.34
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CyberEye.EventBusKafka.Lib&version=3.0.34
                    
Install as a Cake Addin
#tool nuget:?package=CyberEye.EventBusKafka.Lib&version=3.0.34
                    
Install as a Cake Tool

CyberEye.EventBusKafka.Lib

Implementation messaging cho Kafka. Kết nối, producer/consumer và xử lý lỗi phụ thuộc cấu hình transport và host.

Target framework: net8.0.

Cài đặt

dotnet add package CyberEye.EventBusKafka.Lib

Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.

Đăng ký qua host

Các extension tích hợp thuộc Ce.Interaction.Lib, không phải riêng package này:

using Ce.Interaction.Lib.StartupExtensions;
builder.Services.AddKafka(builder.Configuration);

Chỉ gọi nếu hosting module chưa đăng ký. Dùng section Kafka trong appsettings, không phải KafkaConfig.

Producer và consumer

Đăng ký handler trong đúng assembly và thực hiện subscription theo transport. Việc đăng ký kết nối không tự chứng minh mọi handler đã subscribe.

Kiểm tra xử lý lỗi, retry, dead-letter và ack/offset theo đường thực thi thực tế. Consumer cần idempotent nếu message có thể được gửi lại. Không xem at-least-once là exactly-once hoặc cam kết không mất dữ liệu trong mọi tình huống.

Các ví dụ đầy đủ về registration, publish/subscribe và cấu hình nằm ở Developer Guide được liên kết bên dưới.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CyberEye.EventBusKafka.Lib:

Package Downloads
CyberEye.Interaction.Lib

Package cung cấp các cấu hình giao thức pub/sub (RabbitMq/Kafka) và http/https để giao tiếp giữa các Service (hoặc các hệ thống khác)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.34 0 11/15/2026
3.0.33 0 11/15/2026
3.0.32 0 11/15/2026
3.0.31 51 11/15/2026
3.0.30 59 11/15/2026
3.0.29 79 11/13/2026
3.0.28 339 11/6/2026
3.0.27 350 9/17/2026
3.0.26 341 9/8/2026
3.0.25 404 8/22/2026
3.0.24 368 8/10/2026
3.0.23 357 8/9/2026
3.0.22 476 8/1/2026
3.0.21 461 7/28/2026
3.0.20 448 7/27/2026
3.0.19 448 7/27/2026
3.0.18 395 7/17/2026
3.0.17 405 7/13/2026
3.0.16 395 7/12/2026
3.0.15 390 7/10/2026
Loading failed