public void sendBulkDataAsync ( List < ? extends Map < String , ? > > bulkSourceList , String index , String type ) { executeBulkRequestAsync ( buildBulkIndexRequestBuilder ( bulkSourceList . stream ( ) . map ( source -> jmESClient . prepareIndex ( index , type ) . setSource ( source ) ) . collect ( toList ( ) ) ) ) ; }
Send bulk data async .