@Override
    public int sizeInBytes() {
        return records.sizeInBytes();
    }
A wrapper of {@link Records} which will run the specified release hook when {@link #release()} is called.
clients/src/main/java/org/apache/kafka/common/record/PooledRecords.java