public Headers headers() {
        return headers;
    }
Get the headers for this record.

@return the headers; never null
connect/api/src/main/java/org/apache/kafka/connect/connector/ConnectRecord.java