Hi guys,
Need an example of BulkProcessor with the 5.6 version of high-level REST client.
It looks like it has a BUG when calling:
BulkProcessor bulkProcessor = BulkProcessor.builder(rHLClient::bulkAsync , listener,threadPool).build();
compilation error:
"Client is not a functional interface"
Any help will be well appreciated. I have to use 5.6 version
Thank you in advance
J.
javanna
(Luca Cavanna)
March 16, 2018, 9:20am
2
Hi,
I don't see anything wrong with your code, our docs snippets are even tested so they must compile otherwise the docs don't get published.
Which version of java are you using?
Cheers
Luca
Thank you Luca,
The problem was associated with to a BUG but this one is not coming from elastic
Here's the link:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514884
J.
system
(system)
Closed
April 13, 2018, 8:15pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.