mosermw commented on PR #10618:
URL: https://github.com/apache/nifi/pull/10618#issuecomment-3632778794

   I consider the default property values as what we expect the "typical use 
case" to be.  GetFile's main use case is to ingress files into NiFi as they 
arrive in a specific directory.  I think 30 seconds Polling Interval still 
meets that use case just fine, prevents accidental configurations like the Jira 
ticket describes, and would be a simple thing for beginners to change if they 
notice GetFile isn't pulling files as quickly as they expect.  I will adjust 
the PR.
   
   After the discussion above, would it also be a good idea to set a default 
Run Schedule to something like "1 milliseconds"?  With a "0 sec" Run Schedule, 
ingress processors like GetFile quickly get millions of Tasks and a 
not-so-negligible CPU Time.  And after I read this again, I almost convinced 
myself that this doesn't meet the "typical use case" criteria because it's so 
easy to change if you happen to not like seeing wasted CPU Time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to