kien-truong commented on a change in pull request #15704:
URL: https://github.com/apache/flink/pull/15704#discussion_r618069279
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyConfig.java
##########
@@ -49,7 +49,8 @@
private final InetAddress serverAddress;
- private final int serverPort;
+ private final String serverPortRange;
+ private final Iterator<Integer> serverPortRangeIterator;
Review comment:
Because `NetUtils.getPortRangeFromString` also does validation, the
iterator is generated during configuration parsing phase, so that if there's
any configuration error, the user will be notified earlier.
--
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:
[email protected]