-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for initial state replication #128
Comments
Hi Phil. I think some of the projects under the https://github.com/shyiko/mysql-binlog-connector-java#real-world-applications section (like debezium) are already doing that. You might wanna check their sources. Also, I don't think this would be a good fit for mysql-binlog-connector-java simply because it's out of scope (mysql-binlog-connector-java deals with binary log stream only, everything else is supposed to be built on top of it). BUT. If you build a standalone library/application that produces a snapshot and can be used together with mysql-binlog-connector-java to achieve what I think you have in mind I would gladly advertise it in readme.md as a go-to-reference in case people need something like this. |
Hi Stanley, I do understand hesitation about widening scope for the project, however I I'm a bit reluctant to expose the ability to execute random SQL statements Would appreciate your thoughts. Phil On Sat, Nov 12, 2016 at 8:28 PM, Stanley Shyiko [email protected]
|
The demo link should have read "https://github.com/dunlop-lello/my2es" On Sun, Nov 13, 2016 at 4:56 PM, Phil Lello [email protected]
|
Why not to use mysql-connector-java (#24 (comment))? What about https://github.com/debezium/debezium/blob/master/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/SnapshotReader.java#L498? It's fairly to implement but why bother when official mysql-connector-java already supports that? |
@PhilLello Also check "mydumper": https://github.com/maxbube/mydumper/blob/master/docs/files.rst#metadata |
Thank you. I'm gonna close this ticket as there is nothing to be done (at this point). Feel free to reopen. |
Just a quick note to say I'm experimenting with capturing the initial state of a database; work will be over at https://github.com/dunlop-lello/mysql-binlog-connector-java until I've made enough progress to start filing pull-requests.
Please ping me if you're interested in collaboration.
The text was updated successfully, but these errors were encountered: