CyberEye.EventBusRabbitMq.Lib
3.0.34
dotnet add package CyberEye.EventBusRabbitMq.Lib --version 3.0.34
NuGet\Install-Package CyberEye.EventBusRabbitMq.Lib -Version 3.0.34
<PackageReference Include="CyberEye.EventBusRabbitMq.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.EventBusRabbitMq.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.EventBusRabbitMq.Lib" />
paket add CyberEye.EventBusRabbitMq.Lib --version 3.0.34
#r "nuget: CyberEye.EventBusRabbitMq.Lib, 3.0.34"
#:package CyberEye.EventBusRabbitMq.Lib@3.0.34
#addin nuget:?package=CyberEye.EventBusRabbitMq.Lib&version=3.0.34
#tool nuget:?package=CyberEye.EventBusRabbitMq.Lib&version=3.0.34
CyberEye.EventBusRabbitMq.Lib
Implementation messaging cho RabbitMQ. 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.EventBusRabbitMq.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.AddRabbitMq(builder.Configuration);
Chỉ gọi nếu hosting module chưa đăng ký. Dùng section RabbitMq trong appsettings, không phải RabbitMqConfig.
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 | 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 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. |
-
net8.0
- CyberEye.Configuration.Lib (>= 3.0.34)
- CyberEye.EventBus.Lib (>= 3.0.34)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Nito.AsyncEx (>= 5.1.2)
- OpenTelemetry (>= 1.15.3)
- Polly (>= 8.6.6)
- RabbitMQ.Client (>= 7.2.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CyberEye.EventBusRabbitMq.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 | 54 | 11/15/2026 |
| 3.0.30 | 60 | 11/15/2026 |
| 3.0.29 | 74 | 11/13/2026 |
| 3.0.28 | 334 | 11/6/2026 |
| 3.0.27 | 356 | 9/17/2026 |
| 3.0.26 | 358 | 9/8/2026 |
| 3.0.25 | 399 | 8/22/2026 |
| 3.0.24 | 374 | 8/10/2026 |
| 3.0.23 | 366 | 8/9/2026 |
| 3.0.22 | 488 | 8/1/2026 |
| 3.0.21 | 471 | 7/28/2026 |
| 3.0.20 | 461 | 7/27/2026 |
| 3.0.19 | 463 | 7/27/2026 |
| 3.0.18 | 416 | 7/17/2026 |
| 3.0.17 | 427 | 7/13/2026 |
| 3.0.16 | 413 | 7/12/2026 |
| 3.0.15 | 410 | 7/10/2026 |