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

Mark Payne commented on NIFI-868:
---------------------------------

Chin,

I'd like to echo Joe's comments here: this is very nicely done and put 
together. I tested it out and all appears to work as expected.

This property will only affect site-to-site communication when the NiFi 
instance is not clustered. I have created a new ticket, NIFI-872 to take 
advantage of this property when in a clustered environment also. This is a bit 
more involved, though, as it requires notifying the NCM of the configured 
hostname.

This is certainly a great improvement as-is, though! Many thanks for taking the 
time to contribute this back. I have merged the pull request into master, so it 
will go out soon, in version 0.3.0.

Thanks
-Mark

> Configure advertised host name of Remote Process Group Input Port
> -----------------------------------------------------------------
>
>                 Key: NIFI-868
>                 URL: https://issues.apache.org/jira/browse/NIFI-868
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 0.2.1
>         Environment: Linux
>            Reporter: Chin Huang
>            Assignee: Joseph Witt
>             Fix For: 0.3.0
>
>
> The host given out to clients to connect to a Remote Process Group Input Port 
> is the host where the NiFi instance runs. However, sometimes the binding host 
> is different from the host that clients connect to. For example, when a NiFi 
> instance runs inside a Docker container, a client on a separate machine must 
> connect to the Docker host which forwards the connection to the container.
> Kafka addresses this situation by allowing a broker to configure the host 
> name given out to producers, consumers, and other brokers to connect to. 
> Implement something similar in NiFi. Add a configuration property to specify 
> the host name to give out to clients to connect to a Remote Process Group 
> Input Port. If the property is not configured, then give out the name of host 
> running the NiFi instance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to