void resetFuture() {
            future = new CompletableFuture<>();
        }
Handle failed responses. This will retry if the error is retriable, or complete the
result future exceptionally in the case of non-recoverable or unexpected errors.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java