protected ReplicationBasedBinlogParser getDefaultBinlogParser() throws Exception {
//
final ReplicationBasedBinlogParser r = new ReplicationBasedBinlogParser();
r.registgerEventParser(new StopEventParser());
r.registgerEventParser(new RotateEventParser());
r.registgerEventParser(new IntvarEventParser());
r.registgerEventParser(new XidEventParser());
r.registgerEventParser(new RandEventParser());
r.registgerEventParser(new QueryEventParser());
r.registgerEventParser(new UserVarEventParser());