[ 
https://issues.apache.org/jira/browse/NIFI-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464779#comment-16464779
 ] 

Sivaprasanna Sethuraman commented on NIFI-5155:
-----------------------------------------------

[~mattyb149]

Yeah. A quick glance on the BulletinFactory reveals none of the createBulletin 
method never receives the hostname/IP as an argument and thus doesn't call the 
setNodeAddress(). I think, the createBulletin() doesn't need to receive the 
hostname/IP as an argument, rather those methods can simply get the IP using 
Java APIs and then set them using setNodeAddress(). Thoughts?

> Bulletins do not include IP/hostname information
> ------------------------------------------------
>
>                 Key: NIFI-5155
>                 URL: https://issues.apache.org/jira/browse/NIFI-5155
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Matt Burgess
>            Priority: Major
>
> There is an API call on Bulletin for setNodeAddress(), which is meant to set 
> the node on which a bulletin/error has occurred. The 
> SiteToSiteBulletinReportingTask uses getNodeAddress() to add said field to 
> the outgoing records (if available). However, the framework is not calling 
> setNodeAddress() anywhere, which results in the field being missing from the 
> outgoing records.
> NiFi should add the appropriate node address information to the outgoing 
> bulletin information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to