Github user markap14 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2876#discussion_r202705819
--- Diff:
nifi-nar-bundles/nifi-extension-utils/nifi-processor-utils/src/main/java/org/apache/nifi/processor/util/list/AbstractListProcessor.java
---
@@ -169,6 +179,28 @@
.description("All FlowFiles that are received are routed to
success")
.build();
+ public static final AllowableValue BY_TIMESTAMPS = new
AllowableValue("timestamps", "Tracking Timestamps",
+ "This strategy tracks the latest timestamp of listed entity to
determine new/updated entities." +
+ " Since it only tracks few timestamps, it can manage
listing state efficiently." +
+ " However, any newly added, or updated entity having
timestamp older than the tracked latest timestamp can not be picked by this
strategy." +
+ " For example, such situation can happen in a file
system if a file with old timestamp" +
+ " is copied or moved into the target directory without
its last modified timestamp being updated.");
+
+ public static final AllowableValue BY_ENTITIES = new
AllowableValue("entities", "Tracking Entities",
+ "This strategy tracks information of all the listed entities
within the latest 'Entity Tracking Time Window' to determine new/updated
entities." +
+ " See 'Entity Tracking Time Window' description for
detail on how it works." +
--- End diff --
See 'Entity Tracking Time Window' description where?
---