apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siyuanh <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: Add Idempotent support the new...
Date Tue, 01 Mar 2016 18:52:17 GMT
Github user siyuanh commented on a diff in the pull request:

    --- Diff: kafka/src/main/java/org/apache/apex/malhar/kafka/AbstractKafkaInputOperator.java
    @@ -339,6 +394,11 @@ public void assign(Set<AbstractKafkaPartitioner.PartitionMeta>
         return assignment;
    +  private boolean isIdempotent()
    +  {
    +    return windowDataManager != null && !(windowDataManager instanceof WindowDataManager.NoopWindowDataManager);
    +  }
    --- End diff --
    It's good to have a check so it is not set to null by accident

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message