[
https://issues.apache.org/jira/browse/NIFI-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864558#comment-15864558
]
Joseph Witt commented on NIFI-3474:
-----------------------------------
It is definitely the case that RouteOnAttribute should be used ahead of this
processor to ensure it is passed valid input.
Passing it input for which there is no valid IP address present in the
specified input means we'd need to add an additional relationship "failure" or
"invalid input" or something which we'd like to avoid as using 'not found'
seems improper considering at present it meaningfully says "I looked up the IP
and there were no results in the database" which is more meaningful than "for
some reason I didn't find anything"
Does this make sense?
> GeoEnrich - stop using exceptions for mainline flow control.
> ------------------------------------------------------------
>
> Key: NIFI-3474
> URL: https://issues.apache.org/jira/browse/NIFI-3474
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Randy Bovay
> Priority: Minor
>
> modification to the code to stop using exceptions for mainline flow control.
> Specifically we don't want to throw an exception simply because an address
> was not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)