# go-mysql-org/go-mysql-elasticsearch

Sync MySQL data into elasticsearch

Repository: https://github.com/go-mysql-org/go-mysql-elasticsearch
Canonical: https://ross.abutalabs.com/products/go-mysql-elasticsearch
Language: Go
License: MIT
License Family: permissive
Last push: 2023-10-22T02:50:06+00:00

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

## Adoption (not part of the score)
Stars 4148, forks 795 (observed 2026-08-28T04:08:36.437121+00:00)

## What it is
A Go service that automatically syncs MySQL data into Elasticsearch, using mysqldump for initial load and binlog parsing for incremental updates. It is configured via TOML rules mapping MySQL tables to Elasticsearch indices.

## Use cases
- keep elasticsearch index in sync with mysql
- sync mysql tables to elasticsearch for full-text search
- incremental replication from mysql binlog to elasticsearch
- build search index from relational database
- real-time data pipeline from mysql to elasticsearch

## When to choose
- you run MySQL (<8.0) with row-based binlog and Elasticsearch (<6.0) and want automatic syncing
- you want a lightweight self-hosted sync tool without heavy CDC infrastructure

## When to avoid
- you use MySQL 8.0+ or Elasticsearch 6.0+
- you need actively maintained software with broad version support
- you need complex transformations or multi-source pipelines - consider Logstash or Canal instead

## Facets
- artifact type: service
- maturity: maintenance
- function: etl, database, search-engine, streaming
- domain: databases
- platform: go, self-hosted
- tags: mysql, elasticsearch, binlog, data-sync, cdc, search, data-engineering, linux

## Member repositories
- go-mysql-org/go-mysql-elasticsearch (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.437121+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-29T18:22:54.981638+00:00, confidence not recorded.
  - readme: https://github.com/go-mysql-org/go-mysql-elasticsearch (fetched 2026-08-28T04:08:36.437121+00:00, sha 2cc058e6e5db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
