[ 
https://issues.apache.org/jira/browse/FLINK-16942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler closed FLINK-16942.
------------------------------------
    Resolution: Fixed

master: 0629d169358e1b8e89545a0977f8995d298db398
1.10: 16b2ea41b094026ff7da13c3ce34a804c25aaffb 
1.9: 2d29e3ef807efc7dbe819f59a390c3d090a43654 

> ES 5 sink should allows users to select netty transport client
> --------------------------------------------------------------
>
>                 Key: FLINK-16942
>                 URL: https://issues.apache.org/jira/browse/FLINK-16942
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / ElasticSearch
>    Affects Versions: 1.9.0, 1.10.0, 1.11.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.3, 1.10.1, 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.
> {code:java}
> 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();
> {code}
> We should invert the order in which the settings are added.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to