public byte attributes() {
        return buffer.get(ATTRIBUTES_OFFSET);
    }
The attributes stored with this record
@return the attributes
clients/src/main/java/org/apache/kafka/common/record/LegacyRecord.java