mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed batchSize calc
This commit is contained in:
@@ -71,8 +71,8 @@ public class Event implements Serializable {
|
||||
this.rawLength = rawEntry.size();
|
||||
} else {
|
||||
this.entry = entry;
|
||||
// 按照3倍的event length预估
|
||||
this.rawLength = entry.getHeader().getEventLength() * 3;
|
||||
// 按照6倍的event length预估
|
||||
this.rawLength = entry.getHeader().getEventLength() * 6;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user