public class StandaloneMiniCluster extends Object implements AutoCloseableAsync
FlinkMiniCluster
has been changed to use
the HighAvailabilityServices
. With this change we can no longer use the
RemoteEnvironment
to connect against the
FlinkMiniCluster
, because the remote environment cannot retrieve the current leader
session id.Constructor and Description |
---|
StandaloneMiniCluster(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding
close future.
|
Configuration |
getConfiguration() |
String |
getHostname() |
int |
getPort() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public StandaloneMiniCluster(Configuration configuration) throws Exception
Exception
public String getHostname()
public int getPort()
public Configuration getConfiguration()
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.