public class ExternalEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
EnvironmentFactory
which requests workers via the given URL in the Environment.Modifier and Type | Class and Description |
---|---|
static class |
ExternalEnvironmentFactory.Provider
Provider of ExternalEnvironmentFactory.
|
Modifier and Type | Method and Description |
---|---|
static ExternalEnvironmentFactory |
create(GrpcFnServer<FnApiControlClientPoolService> controlServiceServer,
GrpcFnServer<GrpcLoggingService> loggingServiceServer,
GrpcFnServer<ArtifactRetrievalService> retrievalServiceServer,
GrpcFnServer<StaticGrpcProvisionService> provisioningServiceServer,
ControlClientPool.Source clientSource,
IdGenerator idGenerator) |
RemoteEnvironment |
createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment)
Creates a new, active
RemoteEnvironment backed by an unmanaged worker. |
public static ExternalEnvironmentFactory create(GrpcFnServer<FnApiControlClientPoolService> controlServiceServer, GrpcFnServer<GrpcLoggingService> loggingServiceServer, GrpcFnServer<ArtifactRetrievalService> retrievalServiceServer, GrpcFnServer<StaticGrpcProvisionService> provisioningServiceServer, ControlClientPool.Source clientSource, IdGenerator idGenerator)
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment) throws java.lang.Exception
RemoteEnvironment
backed by an unmanaged worker.createEnvironment
in interface EnvironmentFactory
java.lang.Exception