Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2443#discussion_r164576841
--- Diff:
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/GetMongo.java
---
@@ -81,6 +82,15 @@ public ValidationResult validate(final String subject,
final String value, final
};
static final Relationship REL_SUCCESS = new
Relationship.Builder().name("success").description("All files are routed to
success").build();
+ static final Relationship REL_FAILURE = new Relationship.Builder()
+ .name("failure")
+ .description("All input flowfiles that are part of a failed
query execution go here.")
--- End diff --
Failure and Original only apply when there are incoming flow files, I see
that you mention "input flowfiles" here but I wonder if it should be even more
explicit, such as pointing out that if there are no incoming connections then
the relationship will be ignored/unused?
---