Github user francoisprunier commented on the issue:
https://github.com/apache/nifi/pull/1561
Hi @joewitt,
I've successfully tested your patch. The thing I'm concerned about is the
change of behaviour when no incoming flow is connected to the processor, which
breaks the contract existing users of the processor may rely on.
Before:
- incoming flow: creates one flow file per deleted file: BROKEN when more
than one file deleted
- no incoming flow: creates one flow file per deleted file per run: WORKS
After:
- incoming flow: "creates" only one flow file per incoming flowfile: WORKS
when more than one file deleted
- no incoming flow: creates only one flow file per run: WORKS but behaviour
is changed
On the one hand I like your approach better, but on the other hand breaking
users' flows is not great.
---
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.
---