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:
Jeff Storck 2018-10-12 16:57:15 -04:00 committed by Koji Kawamura
parent 0229a5c109
commit 7cb39d636c
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -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>