pvillard31 commented on code in PR #10986:
URL: https://github.com/apache/nifi/pull/10986#discussion_r3182230063


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java:
##########
@@ -2956,7 +2958,7 @@ public Set<String> getClusterMembers() {
     @Override
     public Optional<String> getCurrentNode() {
         if (isClustered() && getNodeId() != null) {
-            return Optional.of(getNodeId().getApiAddress());
+            return Optional.of("%s:%d".formatted(getNodeId().getApiAddress(), 
getNodeId().getApiPort()));

Review Comment:
   Reverted the changes and added a new framework-internal 
ClusterTopologyProvider interface implemented by FlowController.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to