go-sql-driver/mysql

Replication protocol

Open

#212 geöffnet am 6. Feb. 2014

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.789 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (9.946 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5h 59m) (4 gemergte PRs in 30 T)

Beschreibung

I found a fork that implements the replication protocol.

I'm not sure how complete it is. Unfortunately it works off a version of the MySQL driver that is at least a year out of date. My knowledge of the MySQL wire protocol is lacking. I've noticed the writeCommandPacket is quite a bit different.

I'm interested in this because I need a way to update ElasticSearch in real time. Using the replication protocol is attractive because I can turn on/off the syncing and have it pick up where it left off. The current solutions poll MySQL for data, and are more or less straight copies. Also my target (search optimized) data for ElasticSearch is quite a bit different than my MySQL source table.

Would there be any interest in having this feature?

Contributor Guide