CyberEye.CommonConnector.Lib 3.0.34

dotnet add package CyberEye.CommonConnector.Lib --version 3.0.34
                    
NuGet\Install-Package CyberEye.CommonConnector.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.CommonConnector.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.CommonConnector.Lib" Version="3.0.34" />
                    
Directory.Packages.props
<PackageReference Include="CyberEye.CommonConnector.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.CommonConnector.Lib --version 3.0.34
                    
#r "nuget: CyberEye.CommonConnector.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.CommonConnector.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.CommonConnector.Lib&version=3.0.34
                    
Install as a Cake Addin
#tool nuget:?package=CyberEye.CommonConnector.Lib&version=3.0.34
                    
Install as a Cake Tool

CyberEye.CommonConnector.Lib

Các hợp đồng CDC và model sự kiện Debezium dùng chung. Package không tự kết nối broker, chạy reader hay tạo domain event.

Target framework: net8.0.

Cài đặt

dotnet add package CyberEye.CommonConnector.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.

Thành phần chính

  • ICdcClient: hợp đồng kiểm tra và cấu hình CDC.
  • DatabaseChangeObject<TEntity>: dữ liệu before/after, mã thao tác, nguồn và timestamp.
  • ChangeDataCaptureType và các hàm chuyển đổi operation.

Ví dụ cho phần payload đã tách khỏi envelope Kafka/Debezium:

using Ce.CommonConnector.Lib.Debezium;
using Newtonsoft.Json;

// Product là kiểu của ứng dụng; payloadJson chỉ chứa phần payload phù hợp model.
var change = JsonConvert.DeserializeObject<DatabaseChangeObject<Product>>(payloadJson);

Kiểm tra null và operation trước khi dùng Before/After, đặc biệt với sự kiện xóa. Đây là model dữ liệu, không cần một extension DI riêng.

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 (6)

Showing the top 5 NuGet packages that depend on CyberEye.CommonConnector.Lib:

Package Downloads
CyberEye.KafkaConnector.Lib

Package tích hợp Api Kafka Connect (bao gồm cả Source & Sink) để quản lý connectors như tạo mới, chi tiết, xóa connector,... cho nhiều loại CSDL. Api này hoạt động với Debezium connector

CyberEye.SqlServerCdc.Lib

Package chứa đối tượng CdcClient (.Net client Api) cho phép sử dụng chức năng Change Data Capture (CDC) từ SQL Server

CyberEye.MySqlCdc.Lib

Package chứa đối tượng CdcClient (.Net client Api) cho phép sử dụng chức năng Change Data Capture (CDC) từ MySQL/MariaDB (binary log)

CyberEye.OracleCdc.Lib

Package chứa đối tượng CdcClient (.Net client Api) cho phép sử dụng chức năng Change Data Capture (CDC) từ Oracle (supplemental logging + LogMiner)

CyberEye.PostgreSqlCdc.Lib

Package chứa đối tượng CdcClient (.Net client Api) cho phép sử dụng chức năng Change Data Capture (CDC) từ PostgreSQL (logical replication: publications & replication slots)

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 43 11/15/2026
3.0.30 52 11/15/2026
3.0.29 60 11/13/2026
3.0.28 200 11/6/2026
3.0.27 231 9/17/2026
3.0.26 214 9/8/2026
3.0.25 225 8/22/2026
3.0.24 234 8/10/2026
3.0.23 211 8/9/2026
3.0.22 246 8/1/2026
3.0.21 243 7/28/2026
3.0.20 255 7/27/2026
3.0.19 258 7/27/2026
3.0.18 233 7/17/2026
3.0.17 240 7/13/2026
3.0.16 247 7/12/2026
3.0.15 237 7/10/2026
Loading failed