rewrite the canal for mysql binlog parser