how to wait for indexing to finish before closing bulkingester.
previously we have awaitClose() for bulkprocessor. is is same for bulkingester?
there is no awaitClose, but there is wait() in bulkIngester.
I am not sure if this is the right function to use.
I find no document on this on elasticsearch website.
please give example.
thank you.