Precondtion: Not follow rotate event & no interested event for a specific consumer
Next: This consumer will not update binlog position to follo. If the syncer stopped, then some interested event is added and old binlog is removed. We may just connect to latest binlog position and lost some data.
Precondtion: Not follow rotate event & no interested event for a specific consumer
Next: This consumer will not update binlog position to follo. If the syncer stopped, then some interested event is added and old binlog is removed. We may just connect to latest binlog position and lost some data.
Solution: listen to rotate event.