# liukelin/canal_mysql_nosql_sync

基于canal 的 mysql 与 redis/memcached/mongodb 的 nosql 数据实时同步方案 案例 demo canal client

Repository: https://github.com/liukelin/canal_mysql_nosql_sync
Canonical: https://ross.abutalabs.com/products/canal_mysql_nosql_sync
Language: Java
License Family: other
Topics: canal, canal-mysql, sync, mysql, binlog
Last push: 2019-07-10T09:22:46+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": 3894, "days_push": 2611, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1410, forks 465 (observed 2026-08-28T04:04:38.768971+00:00)

## What it is
A demo application showing real-time synchronization of MySQL data into Redis, Memcached, and MongoDB using Alibaba's Canal binlog parser and RabbitMQ. It serves as a reference implementation of a MySQL-to-NoSQL change-data-capture pipeline with a Canal client.

## Use cases
- sync mysql data to redis in real time
- mysql binlog change data capture to nosql
- keep redis cache updated from mysql
- replicate mysql tables to mongodb
- canal client example with rabbitmq
- avoid reading mysql directly by serving from redis

## When to choose
- you need a working example of canal-based mysql-to-redis sync
- you want binlog-driven cache invalidation via a message queue
- you need a reference architecture for mysql to nosql replication

## When to avoid
- you need a production-grade supported CDC tool
- you require a maintained project with a license and active releases
- you use a database other than mysql

## Facets
- artifact type: application
- maturity: maintenance
- function: streaming, message-queue, caching, etl, database
- domain: databases, developer-tools
- platform: jvm, self-hosted
- tags: canal, mysql-binlog, cdc, redis-sync, mongodb, memcached, rabbitmq, demo, data-engineering, linux

## Member repositories
- liukelin/canal_mysql_nosql_sync (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.768971+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-30T04:38:29.038873+00:00, confidence not recorded.
  - readme: https://github.com/liukelin/canal_mysql_nosql_sync (fetched 2026-08-28T04:04:38.768971+00:00, sha 0c355c05cdb1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
