mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 05:30:35 +08:00
Update Channel.java
This commit is contained in:
parent
4df71b8c2d
commit
8fb0f85906
@ -155,7 +155,7 @@ public abstract class Channel {
|
||||
|
||||
// record为终止对象时,该记录不算入统计数量
|
||||
long recordSize = rs.stream().filter(record -> !(record instanceof TerminateRecord)).count();
|
||||
this.statPull(rs.size(), this.getByteSize(rs));
|
||||
this.statPull(recordSize, this.getByteSize(rs));
|
||||
}
|
||||
|
||||
protected abstract void doPush(Record r);
|
||||
|
Loading…
Reference in New Issue
Block a user