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(org.apache.beam.sdk.fn.server.GrpcFnServer<FnApiControlClientPoolService> controlServiceServer,
org.apache.beam.sdk.fn.server.GrpcFnServer<GrpcLoggingService> loggingServiceServer,
org.apache.beam.sdk.fn.server.GrpcFnServer<ArtifactRetrievalService> retrievalServiceServer,
org.apache.beam.sdk.fn.server.GrpcFnServer<StaticGrpcProvisionService> provisioningServiceServer,
ControlClientPool.Source clientSource,
org.apache.beam.sdk.fn.IdGenerator idGenerator) |
RemoteEnvironment |
createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment,
java.lang.String workerId)
Creates a new, active
RemoteEnvironment backed by an unmanaged worker. |
public static ExternalEnvironmentFactory create(org.apache.beam.sdk.fn.server.GrpcFnServer<FnApiControlClientPoolService> controlServiceServer, org.apache.beam.sdk.fn.server.GrpcFnServer<GrpcLoggingService> loggingServiceServer, org.apache.beam.sdk.fn.server.GrpcFnServer<ArtifactRetrievalService> retrievalServiceServer, org.apache.beam.sdk.fn.server.GrpcFnServer<StaticGrpcProvisionService> provisioningServiceServer, ControlClientPool.Source clientSource, org.apache.beam.sdk.fn.IdGenerator idGenerator)
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId) throws java.lang.Exception
RemoteEnvironment backed by an unmanaged worker.createEnvironment in interface EnvironmentFactoryjava.lang.Exception