Closed
Description
Currently DefaultReactiveElasticsearchClient
customizes requests after the WebClient
has created them. This must be changed so that a request customizer is passed to the created WebClient
so that the WebClient
calls this customizer when creating requests.
This allows code that directly works with the WebClient
by using the ReactiveElasticsearchClient.execute(ReactiveElasticsearchClientCallback<T> callback)
method - for example Spring Boot health check - to use the customized requests.