mirror of https://github.com/apache/nifi.git
NIFI-5696 Update references to default value for nifi.cluster.node.load.load.balance.port
This closes #3071. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
This commit is contained in:
parent
0229a5c109
commit
7cb39d636c
|
@ -17,6 +17,7 @@
|
|||
package org.apache.nifi.cluster.protocol;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.nifi.util.NiFiProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
@ -107,7 +108,8 @@ public class NodeIdentifier {
|
|||
|
||||
public NodeIdentifier(final String id, final String apiAddress, final int apiPort, final String socketAddress, final int socketPort,
|
||||
final String siteToSiteAddress, final Integer siteToSitePort, final Integer siteToSiteHttpApiPort, final boolean siteToSiteSecure) {
|
||||
this(id, apiAddress, apiPort, socketAddress, socketPort, socketAddress, 6342, siteToSiteAddress, siteToSitePort, siteToSiteHttpApiPort, siteToSiteSecure, null);
|
||||
this(id, apiAddress, apiPort, socketAddress, socketPort, socketAddress, NiFiProperties.DEFAULT_LOAD_BALANCE_PORT, siteToSiteAddress, siteToSitePort, siteToSiteHttpApiPort, siteToSiteSecure,
|
||||
null);
|
||||
}
|
||||
|
||||
public NodeIdentifier(final String id, final String apiAddress, final int apiPort, final String socketAddress, final int socketPort, final String loadBalanceAddress, final int loadBalancePort,
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
|
||||
<!-- nifi.properties: cluster load balance properties -->
|
||||
<nifi.cluster.load.balance.host></nifi.cluster.load.balance.host>
|
||||
<nifi.cluster.load.balance.port>7430</nifi.cluster.load.balance.port>
|
||||
<nifi.cluster.load.balance.port>6342</nifi.cluster.load.balance.port>
|
||||
<nifi.cluster.load.balance.connections.per.node>4</nifi.cluster.load.balance.connections.per.node>
|
||||
<nifi.cluster.load.balance.max.thread.count>8</nifi.cluster.load.balance.max.thread.count>
|
||||
<nifi.cluster.load.balance.comms.timeout>30 sec</nifi.cluster.load.balance.comms.timeout>
|
||||
|
|
Loading…
Reference in New Issue