code: public BulkProcessor buildBulkProcessor(Listener bulkProcessorListener,
              int bulkActions, long bulkSizeKB, int flushIntervalSeconds,
              Integer concurrentRequests, BackoffPolicy backoffPolicy) {
          return getBulkProcessorBuilder(bulkProcessorListener, bulkActions,
                  new ByteSizeValue(bulkSizeKB, ByteSizeUnit.KB),
                  TimeValue.timeValueSeconds(flushIntervalSeconds),
                  concurrentRequests, backoffPolicy).build();
      }
docs: Build bulk processor bulk processor.
  
  @param bulkProcessorListener the bulk processor listener
  @param bulkActions           the bulk actions
  @param bulkSizeKB            the bulk size kb
  @param flushIntervalSeconds  the flush interval seconds
  @param concurrentRequests    the concurrent requests
  @param backoffPolicy         the backoff policy
  @return the bulk processor