Skip to content

Rest5ClientBuilder should have a callback to configure the CloseableHttpAsyncClient #1018

Closed
@sothawo

Description

@sothawo

Description

I am currently migrating the next version of Spring Data Elasticsearch to use the new Rest5Client and have a light problem:

The old RestClientBuilder was offering a HttpClientConfigCallback which Spring Data Elasticsearch used to configure many aspects of the http client (proxy, ssl stuff, ...).

In the new Rest5ClientBuilder there is no such way to configure the CloseableHttpAsyncClient that is created. This means that I would have to create my own client from scratch?

Is it planned to add such a callback again? I'd rather build on a basic http client provided by the Rest5ClientBuilder than creating my own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions