aloknnikhil commented on a change in pull request #9881:
URL: https://github.com/apache/kafka/pull/9881#discussion_r557015151



##########
File path: raft/src/main/java/org/apache/kafka/raft/RaftConfig.java
##########
@@ -149,6 +152,15 @@ public static ConfigDef configDef() {
         return new ConfigDef(CONFIG);
     }
 
+    public static List<Node> quorumVoterStringsToNodes(String 
quorumVotersString) {
+        return 
parseVoterConnections(Arrays.stream(quorumVotersString.split(","))
+                .filter(part -> !part.isEmpty())
+                .collect(Collectors.toList())).entrySet().stream()

Review comment:
       Same as above. Will refactor into helper functions on RaftConfig.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to