Headache with RestHighLevelClient and bulkprocessor

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

I don't see the full code. But anyway here is an example: