Skip to content

Add support for GZIP compression requests using ClientConfiguration #2149

Closed
@yoni10

Description

@yoni10

The RestClientBuilder class
org.elasticsearch.client.RestClientBuilder has already an property compressionEnabled that enabled compressed gzip requests to Elastic.

The RestClients class
org.springframework.data.elasticsearch.client.RestClients has method called 'create' that accept ClientConfiguration object and put it into new RestClientBuilder class.
In order to use compression in request we need the agility to pass into the ClientConfiguration object the property of compressionEnabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions