code: public void sendWithBulkProcessorAndObjectMapper(List<Object> bulkObject,
              String index, String type) {
          sendWithBulkProcessor(bulkObject.stream()
                  .map(sourceObject -> buildIndexRequest(index, type, null)
                          .source(JMElasticsearchUtil
                                  .buildSourceByJsonMapper(sourceObject)))
                  .collect(toList()));
      }
docs: Send with bulk processor and object mapper.
  
  @param bulkObject the bulk object
  @param index      the index
  @param type       the type