tombrisland commented on code in PR #8390:
URL: https://github.com/apache/nifi/pull/8390#discussion_r1486288578
##########
nifi-nar-bundles/nifi-extension-utils/nifi-file-transfer/src/main/java/org/apache/nifi/processor/util/file/transfer/FileTransfer.java:
##########
@@ -172,6 +173,8 @@ default String getAbsolutePath(FlowFile flowFile, String
remotePath) throws IOEx
+ "than normal.")
.defaultValue("5000")
.addValidator(StandardValidators.NON_NEGATIVE_INTEGER_VALIDATOR)
+ // Limiting to batches means that TIME_TRACKING and TIME_WINDOW
strategies will leave files behind
+ .dependsOn(AbstractListProcessor.LISTING_STRATEGY,
AbstractListProcessor.BY_ENTITIES, AbstractListProcessor.NO_TRACKING)
Review Comment:
I did intend for the changes to cover both, I can't think how
`TIME_TRACKING` can work with batches for either `ListSFTP` or `ListFTP`. Have
you got an example where it does?
I checked out `GetFTP` and `GetSFTP` and they retain the property even with
the dependency, it seems that if the 'depended on' property doesn't exist then
it defaults to visible.
Happy to make the change of course, can you think of a different way to
communicate the limitation to the user?
--
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]