Sending BulkRequest in Java API Client Elasticsearch version 7.16.3

I did a similar move recently. Not exactly the same but still.

So this code could help you hopefully:

@swallez helped me writing it :wink:

The client still needs some documentation to be written... A huge task for sure...

Also, this is a bit burried in the source code, but here is a useful Test class: