SciSharp.MySQL.Replication 1.0.0-beta.3

This is a prerelease version of SciSharp.MySQL.Replication.
dotnet add package SciSharp.MySQL.Replication --version 1.0.0-beta.3
                    
NuGet\Install-Package SciSharp.MySQL.Replication -Version 1.0.0-beta.3
                    
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="SciSharp.MySQL.Replication" Version="1.0.0-beta.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SciSharp.MySQL.Replication" Version="1.0.0-beta.3" />
                    
Directory.Packages.props
<PackageReference Include="SciSharp.MySQL.Replication" />
                    
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 SciSharp.MySQL.Replication --version 1.0.0-beta.3
                    
#r "nuget: SciSharp.MySQL.Replication, 1.0.0-beta.3"
                    
#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.
#addin nuget:?package=SciSharp.MySQL.Replication&version=1.0.0-beta.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SciSharp.MySQL.Replication&version=1.0.0-beta.3&prerelease
                    
Install as a Cake Tool

SciSharp.MySQL.Replication 1.0.0-beta.3

Overview

SciSharp.MySQL.Replication is a C# implementation of the MySQL replication protocol client. This library allows you to receive events like insert, update, delete with their data and raw SQL queries directly from MySQL.

What's New in 1.0.0-beta.3

  • Added support for .NET 9.0
  • Improved handling of binary log events
  • Enhanced parsing of JSON type data
  • Fixed issues with timestamp conversion
  • Performance improvements for large data sets
  • Better error handling and reporting
  • Updated dependencies to latest stable versions

Key Features

  • Connect to MySQL server as a replica
  • Parse and process binary log events in real-time
  • Support for all MySQL data types including JSON, BLOB, TEXT, etc.
  • Handle various events including:
    • Query events (raw SQL statements)
    • Table maps
    • Row events (insert, update, delete)
    • Format description events
    • Rotate events
    • XID events (transaction identifiers)
  • Checksum verification support
  • Built-in support for MySQL binary format parsing
  • Async/await first design

Requirements

  • .NET 6.0+ or higher
  • MySQL server with binary logging enabled
  • MySQL user with replication privileges

Getting Started

using SciSharp.MySQL.Replication;

var serverHost = "localhost";
var username = "root";
var password = "your_password";
var serverId = 1; // replication server id

var client = new ReplicationClient();
var result = await client.ConnectAsync(serverHost, username, password, serverId);

if (!result.Result)
{
    Console.WriteLine($"Failed to connect: {result.Message}.");
    return;
}

client.PackageHandler += (s, p) =>
{
    Console.WriteLine(p.ToString());
    Console.WriteLine();
}

client.StartReceive();

// Keep your application running to receive events
// ...

await client.CloseAsync();

For more detailed documentation and examples, please visit our GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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.  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
1.0.0-beta.3 119 5/1/2025
1.0.0-beta.2 94 5/15/2024
1.0.0-beta.1 181 3/11/2023