You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2020/08/08 08:10:00 UTC

[jira] [Updated] (FLINK-18857) Invalid lambda deserialization when use ElasticsearchSink#Builder to build ElasticserachSink

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

Shengkai Fang updated FLINK-18857:
----------------------------------
    Description: 
Currently when we use code below
{code:java}
new ElasticSearchSink.Builder(...).build()
{code}
we will get Invalid lambda deserialization error if users doesn't setRestClientFactory explicitly.  The reasion behind this bug has been figured out in FLINK-18006, which is caused by maven. However,  we only fix the behaviour in ElasticSearchDynamicSink. When users who build es sink by themselvies will still get the error. 


  was:
Currently when we use code below

{code:java}
new ElasticSearchSink.Builder(...).build()
{code}
user will get Invalid lambda deserialization error if users doesn't 

setRestClientFactory explicitly.  The reasion behind this bug has been figured out in FLINK-18006, which is caused by maven. However,  we only fix the behaviour in ElasticSearchDynamicSink. When users who build es sink by themselvies will still get the error. 



> Invalid lambda deserialization when use ElasticsearchSink#Builder to build ElasticserachSink
> --------------------------------------------------------------------------------------------
>
>                 Key: FLINK-18857
>                 URL: https://issues.apache.org/jira/browse/FLINK-18857
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / ElasticSearch, Table SQL / API
>    Affects Versions: 1.10.0, 1.11.0
>            Reporter: Shengkai Fang
>            Priority: Major
>
> Currently when we use code below
> {code:java}
> new ElasticSearchSink.Builder(...).build()
> {code}
> we will get Invalid lambda deserialization error if users doesn't setRestClientFactory explicitly.  The reasion behind this bug has been figured out in FLINK-18006, which is caused by maven. However,  we only fix the behaviour in ElasticSearchDynamicSink. When users who build es sink by themselvies will still get the error. 



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