osheroff / mysql-binlog-connector-java

MySQL Binary Log connector
666 stars 163 forks source link

How can i know last position was read? #115

Closed thanhdev-work closed 1 year ago

thanhdev-work commented 1 year ago

I'm developing 1 java application to reading a binlog file to catch query event. Everything would be fine without exception. But what will happen if my application was crashed, i will miss many event to from my database. So I wonder how can I know the last position was before my application stopped and started at that position when I recover my app.

zy1263188600 commented 1 year ago

image