private AcquisitionLockTimerTask scheduleAcquisitionLockTimeout(String memberId, long firstOffset, long lastOffset) {
        return scheduleAcquisitionLockTimeout(memberId, firstOffset, lastOffset, recordLockDurationMs);
    }
The record state is considered acknowledged if it is either acknowledged or archived.
These are terminal states for the record.

@param recordState The record state to check.

@return True if the record state is acknowledged or archived, false otherwise.
core/src/main/java/kafka/server/share/SharePartition.java