[jira] [Created] (FLINK-14934) Remove error log statement in ES connector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14934) Remove error log statement in ES connector

Shang Yuanchun (Jira)
Arvid Heise created FLINK-14934:
-----------------------------------

             Summary: Remove error log statement in ES connector
                 Key: FLINK-14934
                 URL: https://issues.apache.org/jira/browse/FLINK-14934
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / ElasticSearch
    Affects Versions: 1.9.1
            Reporter: Arvid Heise
             Fix For: 1.10.0


The ES connector currently uses the [log and throw antipattern|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-elasticsearch-base/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/ElasticsearchSinkBase.java#L406], which doesn't allow users to ignore certain types of errors without getting their logs spammed.

The log statement should be removed completely.



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