Description
As initial proof of concept, we need to be able to read & parse binary logs in real time and without accumulating lag.
If we are not able to read binary logs in real time, this whole project cannot work.
Current options are:
-
Invoking
mysqlbinlog --verbose --base64-output=DECODE-ROWS
, parsing textual output.While this will be the slowest option, for sure, it is also the safest,
mysqlbinlog
being the authoritative tool that it is. If we can make it happen with this, we win. -
I would trust that Vitess is reliable & stable.
-
unfamiliar with it
-
Played with this toolkit a couple times, seems nice; actively maintained
All three programmatic approaches (Vitess, myreplication, go-mysql) connect to a MySQL server and act as a slave
. I would prefer working directly on the binary logs via file system, but still good to go.