beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljoscha <>
Subject [GitHub] incubator-beam pull request #1021: [BEAM-615] Add Support for Processing-Tim...
Date Wed, 28 Sep 2016 09:55:32 GMT
GitHub user aljoscha opened a pull request:

    [BEAM-615] Add Support for Processing-Time Timers in FlinkRunner

    This adds support for processing-time timers that are checkpointed.
    There are no tests for this yet but I ran this minimal example successfully:
        .apply(CountingInput.unbounded().withRate(5, Duration.standardSeconds(1)))
            Window.<Long>into(new GlobalWindows())
        .apply(ParDo.of(new DoFn<Long, KV<String, Long>>() {
          public void proc(ProcessContext ctx) {
            ctx.output(KV.of("key", ctx.element()));
        .apply(Combine.<String, Long>perKey(new SerializableFunction<Iterable<Long>,
Long>() {
          public Long apply(Iterable<Long> input) {
            System.out.println("GOT: " + Joiner.on(',').join(input));
            return 0L;
    R: @mxm for review

You can merge this pull request into a Git repository by running:

    $ git pull flink-processing-time-timers

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1021
commit a1cc636c25561d6300a9a39c3a79d1dfd0eba37f
Author: Aljoscha Krettek <>
Date:   2016-09-28T09:49:54Z

    [BEAM-615] Add Support for Processing-Time Timers in FlinkRunner Window Operator


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message