public class FnHarness
extends java.lang.Object
This entry point expects the following environment variables:
Endpoints.ApiServiceDescriptor encoded as text
representing the endpoint that is to be connected to for the Beam Fn Logging service.
Endpoints.ApiServiceDescriptor encoded as text
representing the endpoint that is to be connected to for the Beam Fn Control service.
PipelineOptions. See PipelineOptions
for further details.
| Constructor and Description |
|---|
FnHarness() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
main(java.lang.String id,
org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor loggingApiServiceDescriptor,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor controlApiServiceDescriptor) |
static void |
main(java.lang.String id,
org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor loggingApiServiceDescriptor,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor controlApiServiceDescriptor,
org.apache.beam.sdk.fn.channel.ManagedChannelFactory channelFactory,
org.apache.beam.sdk.fn.stream.OutboundObserverFactory outboundObserverFactory) |
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String id,
org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor loggingApiServiceDescriptor,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor controlApiServiceDescriptor)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String id,
org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor loggingApiServiceDescriptor,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor controlApiServiceDescriptor,
org.apache.beam.sdk.fn.channel.ManagedChannelFactory channelFactory,
org.apache.beam.sdk.fn.stream.OutboundObserverFactory outboundObserverFactory)
throws java.lang.Exception
java.lang.Exception