zentol commented on a change in pull request #7927: [FLINK-11603][metrics] Port 
the MetricQueryService to the new RpcEndpoint
URL: https://github.com/apache/flink/pull/7927#discussion_r267351817
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/akka/AkkaRpcServiceUtils.java
 ##########
 @@ -100,11 +100,11 @@ public static RpcService createRpcService(
                        int port,
                        Configuration configuration) throws Exception {
                final ActorSystem actorSystem = 
BootstrapTools.startActorSystem(configuration, hostname, port, LOG);
-               return instantiateAkkaRpcService(configuration, actorSystem);
+               return createRpcService(configuration, actorSystem);
        }
 
        @Nonnull
-       private static RpcService instantiateAkkaRpcService(Configuration 
configuration, ActorSystem actorSystem) {
+       public static RpcService createRpcService(Configuration configuration, 
ActorSystem actorSystem) {
 
 Review comment:
   Given that JM/TM have configurable host names It is unlikely that the MQS 
can get away without offering the same. Realistically these should us the same 
hostname as the dispatcher/TM RpcService.

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


With regards,
Apache Git Services

Reply via email to