codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

ElasticSearch: migrate from TransportClient to HighLevelRestClient #234

Closed codingchili closed 5 years ago

codingchili commented 6 years ago

TransportClient is scheduled to be deprecated in v8.

The existing TransportClient is broken because the TransportClient depends on an old YAMLGenerator, that does not include the LITERAL_BLOCK feature. (which is needed in ext-game.)

Implement the new HighLevelRestClient - if it is still broken open an issue in elastic.

codingchili commented 5 years ago

Fixed in 1.0.38RC1, tests are passing but a bit unstable - this versions seems to be less realtime than before. Maybe some configuration change. 'Clear' is unsupported in the high level client and we are dropping the full index for now.