[
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)