leaderRetrievalService will retrieve the leading JobManager. Take a look at LeaderRetrievalUtils in order to see how it is created and what options are supported. actorSystem is the ActorSystem which is used to resolve the leader’s Akka URL into an ActorRef. You can simply create one or use an existing one if it is at hand.
I’m wondering why you want to create a WebMonitor yourself? Cheers, Till On Thu, Jan 21, 2016 at 12:55 PM, HungChang <unicorn.bana...@gmail.com> wrote: > Thanks for your suggestion. I have some questions to start > WebRuntimeMonitor. > > In startWebRuntimeMonitor what should be called for > - leaderRetrievalService: LeaderRetrievalService, > - actorSystem: ActorSystem ? > > My ref: > ( > https://ci.apache.org/projects/flink/flink-docs-master/api/java/org/apache/flink/runtime/webmonitor/WebMonitorUtils.html > ) > Is there any example code using WebRuntimeMonitor? > > The file check for the dashboard log passed. > > Best, > > Sendoh > > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Cannot-start-FlinkMiniCluster-WebServer-using-different-port-in-FlinkMiniCluster-tp4414p4445.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. >