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.
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.