You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Konstantin Knauf (JIRA)" <ji...@apache.org> on 2016/04/20 17:43:25 UTC
[jira] [Comment Edited] (FLINK-3758) Add possibility to register
accumulators in custom triggers
[ https://issues.apache.org/jira/browse/FLINK-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250106#comment-15250106 ]
Konstantin Knauf edited comment on FLINK-3758 at 4/20/16 3:42 PM:
------------------------------------------------------------------
{quote}
In the Trigger we would not know when to call addAccumulator()
{quote}
That's what I thought, yes. {{getAccumulator(String name, Accumulator defaultAccumulator)}} sounds gut. I will have a look at it.
was (Author: knaufk):
{quote}
In the Trigger we would not know when to call addAccumulator()
{quote}
That's what I thought, yes. {getAccumulator(String name, Accumulator defaultAccumulator)} sounds gut. I will have a look at it.
> Add possibility to register accumulators in custom triggers
> -----------------------------------------------------------
>
> Key: FLINK-3758
> URL: https://issues.apache.org/jira/browse/FLINK-3758
> Project: Flink
> Issue Type: Improvement
> Reporter: Konstantin Knauf
> Priority: Minor
>
> For monitoring purposes it would be nice to be able to to use accumulators in custom trigger functions.
> Basically, the trigger context could just expose {{getAccumulator}} of {{RuntimeContext}} or does this create problems I am not aware of?
> Adding accumulators in a trigger function is more difficult, I think, but that's not really neccessary as the accummulator could just be added in some other upstream operator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)