You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2017/06/21 19:02:00 UTC

[jira] [Created] (NIFI-4103) IPLookupService returns a Record with all null fields if the given IP cannot be found

Mark Payne created NIFI-4103:
--------------------------------

             Summary: IPLookupService returns a Record with all null fields if the given IP cannot be found
                 Key: NIFI-4103
                 URL: https://issues.apache.org/jira/browse/NIFI-4103
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mark Payne
            Assignee: Mark Payne


If IPLookupService is used to lookup an IP address and the IP address cannot be found (for instance 10.0.1.2) then the service returns a Record object where all of the fields are null. Instead, it should return an empty Optional. As it is right now, if using the LookupRecord processor, all FlowFiles will be routed to 'matched' instead of 'unmatched' because even if the IP address isn't found, a Record is returned.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)