private boolean shouldMakeRequest(){
  boolean shouldMakeRequest=lastRequestCompletedTime == -1;
  shouldMakeRequest|=next != null;
  shouldMakeRequest|=(haveMorePages && conf.pagination.mode != PaginationMode.LINK_HEADER);
  shouldMakeRequest|=System.currentTimeMillis() > lastRequestCompletedTime + conf.pollingInterval && conf.httpMode == HttpClientMode.POLLING;
  return shouldMakeRequest;
}

private boolean shouldMakeRequest ( ) { boolean shouldMakeRequest = lastRequestCompletedTime == - 1 ; shouldMakeRequest |= next != null ; shouldMakeRequest |= ( haveMorePages && conf . pagination . mode != PaginationMode . LINK_HEADER ) ; shouldMakeRequest |= System . currentTimeMillis ( ) > lastRequestCompletedTime + conf . pollingInterval && conf . httpMode == HttpClientMode . POLLING ; return shouldMakeRequest ; }
determines whether or not we should continue making additional http requests in the current produce ( ) call or whether to return the current batch .
