cmccabe commented on code in PR #16669:
URL: https://github.com/apache/kafka/pull/16669#discussion_r1700518873


##########
raft/src/main/java/org/apache/kafka/raft/Endpoints.java:
##########
@@ -272,4 +272,8 @@ public static Endpoints 
fromAddVoterRequest(AddRaftVoterRequestData.ListenerColl
 
         return new Endpoints(listeners);
     }
+
+    public static Endpoints fromMap(Map<ListenerName, InetSocketAddress> 
endpoints) {
+        return new Endpoints(new HashMap<>(endpoints));
+    }

Review Comment:
   ah, I don't know how I missed that. I will use that then.



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