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

[jira] [Closed] (FLINK-13036) Elasticsearch ActionRequestFailureHandler can access RuntimeContext

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

Aljoscha Krettek closed FLINK-13036.
------------------------------------
    Resolution: Won't Do

I'd say we cannot add access to the {{RuntimeContext}} here. That interface is quite a bit too "big" and allows access to many things that these simple Elasticsearch handlers shouldn't be able to access.

> Elasticsearch ActionRequestFailureHandler can access RuntimeContext
> -------------------------------------------------------------------
>
>                 Key: FLINK-13036
>                 URL: https://issues.apache.org/jira/browse/FLINK-13036
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / ElasticSearch
>            Reporter: FaxianZhao
>            Priority: Major
>              Labels: pull-request-available
>
> We can not count exceptions via accumulator in ActionRequestFailureHandler to check message count end-to-end consistency otherwize log them or use external counter. 



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