CyberEye.MySqlCdc.Lib 3.0.35

dotnet add package CyberEye.MySqlCdc.Lib --version 3.0.35
                    
NuGet\Install-Package CyberEye.MySqlCdc.Lib -Version 3.0.35
                    
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.MySqlCdc.Lib" Version="3.0.35" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CyberEye.MySqlCdc.Lib" Version="3.0.35" />
                    
Directory.Packages.props
<PackageReference Include="CyberEye.MySqlCdc.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.MySqlCdc.Lib --version 3.0.35
                    
#r "nuget: CyberEye.MySqlCdc.Lib, 3.0.35"
                    
#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.MySqlCdc.Lib@3.0.35
                    
#: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.MySqlCdc.Lib&version=3.0.35
                    
Install as a Cake Addin
#tool nuget:?package=CyberEye.MySqlCdc.Lib&version=3.0.35
                    
Install as a Cake Tool

CyberEye.MySqlCdc.Lib

Công cụ chuẩn bị và kiểm tra cấu hình CDC cho MySQL / MariaDB. Đây là lớp quản trị điều kiện CDC, không phải dịch vụ chạy nền đọc và phát thay đổi.

Target framework: net8.0.

Cài đặt

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

API chính

Kiểm tra binlog và điều kiện bảng; cung cấp GetBinlogStatusAsync. Không đọc trực tiếp luồng binlog hoặc đăng ký Debezium connector. Các hàm disable hiện có nhánh no-op; xem implementation trước khi dùng.

using Ce.MySqlCdc.Lib.Implementations;

// Fragment: connectionString và databaseName do host cung cấp.
var client = new MySqlCdcClient(connectionString);
bool enabled = await client.IsCdcDbEnabledAsync(databaseName);

Cách sử dụng

  1. Kiểm tra quyền tài khoản và điều kiện CDC của hệ quản trị.
  2. Dùng các phương thức kiểm tra trạng thái trước khi thay đổi cấu hình.
  3. Chỉ gọi enable/disable sau khi xác định đúng database, schema/bảng hoặc collection. Đây là thao tác quản trị có thể ảnh hưởng hệ thống đang chạy.
  4. Nếu cần đọc thay đổi và chuyển sang Kafka, cấu hình reader/connector riêng. Quản lý Kafka Connect thuộc CyberEye.KafkaConnector.Lib.

Package không tự bind section MySqlCdcConfig; truyền connection string vào constructor. Không lưu password thực trong source.

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

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
3.0.35 0 11/16/2026
3.0.34 44 11/15/2026
3.0.33 47 11/15/2026
3.0.32 48 11/15/2026
3.0.31 49 11/15/2026
3.0.30 47 11/15/2026
3.0.29 53 11/13/2026
3.0.28 100 11/6/2026
3.0.27 124 9/17/2026
3.0.26 118 9/8/2026
3.0.25 111 8/22/2026
3.0.24 127 8/10/2026
3.0.23 124 8/9/2026
3.0.22 131 8/1/2026
3.0.21 123 7/28/2026
3.0.20 128 7/27/2026
3.0.19 125 7/27/2026
3.0.18 121 7/17/2026
3.0.17 126 7/13/2026
3.0.16 121 7/12/2026
Loading failed