public boolean poll(RequestFuture<?> future, Timer timer) {
        return poll(future, timer, false);
    }
Block until the provided request future request has finished or the timeout has expired.
@param future The request future to wait for
@param timer Timer bounding how long this method can block
@return true if the future is done, false otherwise
@throws WakeupException if {@link #wakeup()} is called from another thread
@throws InterruptException if the calling thread is interrupted
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerNetworkClient.java