@Override
    public String toString() {
        return String.format("SimpleRecord(timestamp=%d, key=%d bytes, value=%d bytes)",
                timestamp(),
                key == null ? 0 : key.limit(),
                value == null ? 0 : value.limit());
    }
High-level representation of a kafka record. This is useful when building record sets to
avoid depending on a specific magic version.
clients/src/main/java/org/apache/kafka/common/record/SimpleRecord.java