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

ASF GitHub Bot commented on NIFI-5195:
--------------------------------------

Github user MikeThomsen commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2828#discussion_r199445555
  
    --- Diff: nifi-docker/dockermaven/sh/start.sh ---
    @@ -26,6 +26,18 @@ prop_replace 'nifi.remote.input.host'           
"${NIFI_REMOTE_INPUT_HOST:-$HOST
     prop_replace 'nifi.remote.input.socket.port'    
"${NIFI_REMOTE_INPUT_SOCKET_PORT:-10000}"
     prop_replace 'nifi.remote.input.secure'         'false'
     
    +prop_replace 'nifi.cluster.is.node'                         
"${NIFI_CLUSTER_IS_NODE:-false}"
    +prop_replace 'nifi.cluster.node.address'                    
"${NIFI_CLUSTER_ADDRESS:-$HOSTNAME}"
    +prop_replace 'nifi.cluster.node.protocol.port'              
"${NIFI_CLUSTER_NODE_PROTOCOL_PORT:-}"
    +prop_replace 'nifi.cluster.node.protocol.threads'           
"${NIFI_CLUSTER_NODE_PROTOCOL_THREADS:-10}"
    +prop_replace 'nifi.cluster.node.protocol.max.threads'       
"${NIFI_CLUSTER_NODE_PROTOCOL_MAX_THREADS:-50}"
    +prop_replace 'nifi.zookeeper.connect.string'                
"${NIFI_ZK_CONNECT_STRING:-}"
    +prop_replace 'nifi.zookeeper.root.node'                     
"${NIFI_ZK_ROOT_NODE:-/nifi}"
    +prop_replace 'nifi.cluster.flow.election.max.wait.time'     
"${NIFI_ELECTION_MAX_WAIT:-5 mins}"
    +prop_replace 'nifi.cluster.flow.election.max.candidates'    
"${NIFI_ELECTION_MAX_CANDIDATES:-}"
    +
    +. "${scripts_dir}/update_cluster_state_management.sh"
    --- End diff --
    
    @hemantha-kumara the way I read the documentation, you have to set up the 
cluster state provider as well.


> Make clustering enabled Docker image
> ------------------------------------
>
>                 Key: NIFI-5195
>                 URL: https://issues.apache.org/jira/browse/NIFI-5195
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Dongkyu Hwangbo
>            Assignee: Mike Thomsen
>            Priority: Major
>
> Currently, Docker image only support stand-alone but sometimes, for 
> experimental testing or any reason, Making cluster with multiple Docker 
> instance is needed. To make it enable, put related property in 
> nifi.properties is needed.



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

Reply via email to