private List<NetworkClientDelegate.UnsentRequest> drainPendingCommits() {
            List<NetworkClientDelegate.UnsentRequest> res = unsentOffsetCommits.stream()
                .map(OffsetCommitRequestState::toUnsentRequest)
                .collect(Collectors.toCollection(ArrayList::new));
            clearAll();
            return res;
        }
Find the unsent fetch requests that have expired, remove them and complete their
futures with a TimeoutException.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java