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();
|
this.rawLength = rawEntry.size();
|
||||||
} else {
|
} else {
|
||||||
this.entry = entry;
|
this.entry = entry;
|
||||||
// 按照3倍的event length预估
|
// 按照6倍的event length预估
|
||||||
this.rawLength = entry.getHeader().getEventLength() * 3;
|
this.rawLength = entry.getHeader().getEventLength() * 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user