Hello,
I have a few queries related to BulkProcessor:
-
If there are multiple threads associated with Bulk processor there is no guarantee when the index requests will be executed as it is asynchronous. Is there a way to make sure that all the index requests are completed before closing the processor and going forward? Does using flush operation guarantee this ? if not can I use multiple threads each having a separate single threaded bulk processor?
-
If bulk thread pool type is used for bulk processing and if I set the requests number as 20000 in bulk processor,
Do I need to change the queue size of the pool to 20000? A fixed thread pool internally uses a linked queue ,so does the queue hold the rejected requests?