# wj596/go-mysql-transfer

MySQL Binlog 增量实时同步工具

Repository: https://github.com/wj596/go-mysql-transfer
Canonical: https://ross.abutalabs.com/products/go-mysql-transfer
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2023-11-27T08:12:13+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2213, "days_push": 1010, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1066, forks 284 (observed 2026-08-28T04:03:27.103204+00:00)

## What it is
A standalone Go application that syncs MySQL data in real time by listening to the MySQL binlog as a fake replica. It transforms row changes into messages via rules, templates, or Lua scripts and delivers them to sinks like Redis, MongoDB, Elasticsearch, Kafka, RocketMQ, RabbitMQ, or HTTP APIs.

## Use cases
- sync mysql changes to elasticsearch in real time
- stream mysql binlog events to kafka
- keep redis cache updated from mysql
- replicate mysql data into mongodb
- cdc pipeline from mysql to message queues
- initialize full dataset then incremental sync
- monitor mysql data sync with prometheus

## When to choose
- you need a single-binary, dependency-free MySQL CDC tool
- you want built-in sinks without writing custom client code
- you need Lua scripting for complex transformation logic
- you want full initial sync plus incremental binlog sync

## When to avoid
- you need sources other than MySQL
- you prefer a Java ecosystem tool like Canal with deep customization
- you need actively developed features or recent community support
- you need a managed cloud CDC service

## Facets
- artifact type: application
- maturity: maintenance
- function: etl, streaming, database, monitoring
- domain: databases, big-data, self-hosted
- platform: windows, cross-platform, go
- tags: mysql-binlog, cdc, data-sync, redis, elasticsearch, kafka, rocketmq, rabbitmq, mongodb, lua-scripting, prometheus, high-availability, data-engineering, linux

## Member repositories
- wj596/go-mysql-transfer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.103204+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:55:27.414873+00:00, confidence not recorded.
  - readme: https://github.com/wj596/go-mysql-transfer (fetched 2026-08-28T04:03:27.103204+00:00, sha fe121f9bb26e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
