[ https://issues.apache.org/jira/browse/FLINK-7528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171278#comment-16171278 ]
ASF GitHub Bot commented on FLINK-7528: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/4598#discussion_r139622270 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java --- @@ -147,40 +170,65 @@ public InetSocketAddress getServerAddress() { } /** + * Returns the address of the REST server endpoint. Since the address is only known + * after the endpoint is started, it is returned as a future which is completed + * with the REST address at start up. + * + * @return REST address of this endpoint + */ + public String getRestAddress() { --- End diff -- What is the relation of this method to `getServerAddress()`? > Create Dispatcher REST endpoint > ------------------------------- > > Key: FLINK-7528 > URL: https://issues.apache.org/jira/browse/FLINK-7528 > Project: Flink > Issue Type: Sub-task > Components: Distributed Coordination, REST > Affects Versions: 1.4.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Priority: Minor > Labels: flip-6 > > Create and integrate the {{DispatcherRestEndpoint}} with the {{Dispatcher}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)