Skip to content

Refactor DefaultReactiveElasticsearchClient to do request customization with the WebClient. #1794

Closed
@sothawo

Description

@sothawo

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions