flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Knauf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3758) Add possibility to register accumulators in custom triggers
Date Thu, 26 May 2016 17:41:12 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302555#comment-15302555

Konstantin Knauf commented on FLINK-3758:

[~aljoscha] Yes, in particular my goal is to monitor the number of currently buffered events,
but in more advanced triggers there are certainly other points of interest. 

Is there a design document for these metrics? As far as I understand it, metrics will not
replace accumulators, right?

> 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
>            Assignee: 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

View raw message