mirror of https://github.com/apache/nifi.git
NIFI-4131 - GFT warning message when badly setting relationships
Signed-off-by: Matt Burgess <mattyb149@apache.org> This closes #1954
This commit is contained in:
parent
7f4cfd51ea
commit
902b6e205d
|
@ -154,6 +154,9 @@ public class GenerateTableFetch extends AbstractDatabaseFetchProcessor {
|
|||
if (!isDynamicTableName && !isDynamicMaxValues) {
|
||||
super.setup(context);
|
||||
}
|
||||
if(context.hasIncomingConnection() && !context.hasNonLoopConnection()) {
|
||||
getLogger().error("The failure relationship can be used only if there is another incoming connection to this processor.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue