I need to implement a binlog streamer to replicate a structure of master database to slave databases, i found a npm package named zongji this package capture all data changes on database as inserts,delets and updates, but i need only capture structure changes to replicate these changes to another databases, i need to obtain the mysql binlog and then convert it to json, when new change is detected apply this change to the other databases dependent of the master database.
wich recomendations can you tell me about binlog streaming and if is posible integrate it with php or node js and if you know if exists any tool or library to help or guide me with this integration.
via Brayan Caldera
No comments:
Post a Comment