scisharp - SciSharp.MySQL.Replication 1.0.0-beta.2.28

dotnet-mysql-replication is a C# Implementation of MySQL replication protocol client. This allows you to receive events like insert, update, delete with their data and raw SQL queries from MySQL.

PM> Install-Package SciSharp.MySQL.Replication -Version 1.0.0-beta.2.28 -Source https://www.myget.org/F/scisharp/api/v3/index.json

Copy to clipboard

> nuget.exe install SciSharp.MySQL.Replication -Version 1.0.0-beta.2.28 -Source https://www.myget.org/F/scisharp/api/v3/index.json

Copy to clipboard

> dotnet add package SciSharp.MySQL.Replication --version 1.0.0-beta.2.28 --source https://www.myget.org/F/scisharp/api/v3/index.json

Copy to clipboard
<PackageReference Include="SciSharp.MySQL.Replication" Version="1.0.0-beta.2.28" />
Copy to clipboard
source https://www.myget.org/F/scisharp/api/v3/index.json

nuget SciSharp.MySQL.Replication  ~> 1.0.0-beta.2.28
Copy to clipboard

> choco install SciSharp.MySQL.Replication --version 1.0.0-beta.2.28 --source https://www.myget.org/F/scisharp/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "scisharp" -SourceLocation "https://www.myget.org/F/scisharp/api/v2"
Install-Module -Name "SciSharp.MySQL.Replication" -RequiredVersion "1.0.0-beta.2.28" -Repository "scisharp" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/scisharp/api/v2/symbolpackage/


dotnet-mysql-replication

build MyGet Version NuGet Version

dotnet-mysql-replication is a C# Implementation of MySQL replication protocol client. This allows you to receive events like insert, update, delete with their data and raw SQL queries from MySQL.

Usage


using SciSharp.MySQL.Replication;

var serverHost = "localhost";
var username = "root";
var password = "scisharp";
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();

//...

await client.CloseAsync();

  • .NETFramework 6.0
    • Microsoft.Extensions.Logging (>= 8.0.0)
    • MySql.Data (>= 8.4.0)
    • SuperSocket.Client (>= 2.0.0-beta.21)
  • .NETFramework 7.0
    • Microsoft.Extensions.Logging (>= 8.0.0)
    • MySql.Data (>= 8.4.0)
    • SuperSocket.Client (>= 2.0.0-beta.21)
  • .NETFramework 8.0
    • Microsoft.Extensions.Logging (>= 8.0.0)
    • MySql.Data (>= 8.4.0)
    • SuperSocket.Client (>= 2.0.0-beta.21)
  • .NETStandard 2.1
    • Microsoft.Extensions.Logging (>= 8.0.0)
    • MySql.Data (>= 8.4.0)
    • SuperSocket.Client (>= 2.0.0-beta.21)
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 7.0: 7.0.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETStandard 2.1: 2.1.0.0

Owners

Kerry Jiang Haiping Chen

Authors

Kerry Jiang and other contributors

Project URL

https://github.com/SciSharp/dotnet-mysql-replication

License

Unknown

Tags

MySQL replication C# client

Info

21 total downloads
3 downloads for version 1.0.0-beta.2.28
Download (84.72 KB)
Download symbols (67.33 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.0-beta.2.28 84.72 KB Sat, 25 May 2024 22:41:27 GMT 3
1.0.0-beta.2.27 84.69 KB Wed, 15 May 2024 03:32:04 GMT 1
1.0.0-beta.2.26 83.72 KB Wed, 15 May 2024 03:28:27 GMT 1
1.0.0-beta.2.25 83.19 KB Wed, 15 May 2024 03:16:41 GMT 1
1.0.0-beta.2 84.67 KB Wed, 15 May 2024 03:39:35 GMT 6
1.0.0-beta.1.23 62.61 KB Sun, 12 Mar 2023 16:18:15 GMT 2
1.0.0-beta.1.22 62.6 KB Sat, 11 Mar 2023 19:44:28 GMT 1
1.0.0-beta.1.21 62.6 KB Sat, 11 Mar 2023 19:29:06 GMT 1
1.0.0-beta.1.20 62.59 KB Sat, 11 Mar 2023 19:21:08 GMT 2
1.0.0-beta.1 62.59 KB Sat, 11 Mar 2023 19:30:00 GMT 3