final NodeInformation self = new NodeInformation(remoteInputHostVal, nifiProperties.getRemoteInputPort(), nifiProperties.getRemoteInputHttpPort(), apiPort != null ? apiPort : 0, // Avoid potential NullPointerException. isSiteToSiteSecure, 0); // TotalFlowFiles doesn't matter if it's a standalone NiFi.
loadBalanceAddress.getHostName(), loadBalanceAddress.getPort(), nifiProperties.getRemoteInputHost(), nifiProperties.getRemoteInputPort(), nifiProperties.getRemoteInputHttpPort(), nifiProperties.isSiteToSiteSecure());
properties.getRemoteInputHttpPort(), properties.isSiteToSiteSecure());
remoteInputHttpPort = nifiProperties.getRemoteInputHttpPort(); isSiteToSiteSecure = nifiProperties.isSiteToSiteSecure();
final NodeInformation self = new NodeInformation(remoteInputHostVal, nifiProperties.getRemoteInputPort(), nifiProperties.getRemoteInputHttpPort(), apiPort != null ? apiPort : 0, // Avoid potential NullPointerException. isSiteToSiteSecure, 0); // TotalFlowFiles doesn't matter if it's a standalone NiFi.