public void clearInflight(long currentTimeMs) {
            this.inflightRequest = Optional.empty();
            this.nextAllowedRetryMs = currentTimeMs;
        }
Helper class used to track the request state within each request scope.
This class enforces a maximum number of inflight request and keeps track
of backoff/retry state.
clients/src/main/java/org/apache/kafka/clients/admin/internals/AdminApiDriver.java