workerClientRequestProcessor.resetMessageBytesCount();
partitionStatsList.get(partitionStatsList.size() - 1).
addMessageBytesSentCount(partitionMsgBytes);
messageBytesSentCounter.inc(partitionMsgBytes);
}
aggregatorUsage.finishThreadComputation();
} catch (IOException e) {
throw new IllegalStateException("call: Flushing failed.", e);
}
return partitionStatsList;
}