public class EmbeddedEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
EnvironmentFactory that communicates to a FnHarness which is executing in the
same process.| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedEnvironmentFactory.Provider
Provider of EmbeddedEnvironmentFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static EnvironmentFactory |
create(org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.sdk.fn.server.GrpcFnServer<GrpcLoggingService> loggingServer,
org.apache.beam.sdk.fn.server.GrpcFnServer<FnApiControlClientPoolService> controlServer,
ControlClientPool.Source clientSource) |
RemoteEnvironment |
createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment,
java.lang.String workerId)
Creates an active
RunnerApi.Environment and returns a handle to it. |
public static EnvironmentFactory create(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.sdk.fn.server.GrpcFnServer<GrpcLoggingService> loggingServer, org.apache.beam.sdk.fn.server.GrpcFnServer<FnApiControlClientPoolService> controlServer, ControlClientPool.Source clientSource)
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId) throws java.lang.Exception
EnvironmentFactoryRunnerApi.Environment and returns a handle to it.createEnvironment in interface EnvironmentFactoryjava.lang.Exception