[ 
https://issues.apache.org/jira/browse/NIFI-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne updated NIFI-4103:
-----------------------------
    Fix Version/s: 1.4.0
           Status: Patch Available  (was: Open)

> 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
>             Fix For: 1.4.0
>
>
> 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)

Reply via email to