Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9.0, 1.10.0, 1.11.0
Description
When assembling the settings for the PreBuiltTransportClient the Elasticsearch5ApiCallBridge first adds the user-provided client and then overrides http/transport types with netty 3.
This means that users are forced to use netty 3, despite the connector being able to work with a more recent and secure version.
Settings settings = Settings.builder().put(clientConfig) .put(NetworkModule.HTTP_TYPE_KEY, Netty3Plugin.NETTY_HTTP_TRANSPORT_NAME) .put(NetworkModule.TRANSPORT_TYPE_KEY, Netty3Plugin.NETTY_TRANSPORT_NAME) .build();
We should invert the order in which the settings are added.
Attachments
Issue Links
- links to