Github user siyuanh commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/205#discussion_r54615107
--- Diff:
kafka/src/main/java/org/apache/apex/malhar/kafka/AbstractKafkaInputOperator.java
---
@@ -339,6 +394,11 @@ public void
assign(Set<AbstractKafkaPartitioner.PartitionMeta> assignment)
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 [email protected] or file a JIRA ticket
with INFRA.
---