Skip to content

ElasticsearchClient._transportOptions() should not return null #206

Open
@swallez

Description

@swallez

Java API client version

7.16

Java version

all

Elasticsearch Version

all

Problem description

ElasticsearchClient._transportOptions() returns null if no options were set on the client.

It would be more convenient to have this method default to returning the underlying transport's option in that case.

Similary it would be more convient to have withTransportOptions accept a builder lambda that augments existing options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions