Class LoggingClientFactory
- java.lang.Object
-
- org.apache.beam.fn.harness.logging.LoggingClientFactory
-
public class LoggingClientFactory extends java.lang.ObjectA factory forLoggingClients. ProvidesBeamFnLoggingClientif the logging service is enabled, otherwise provides a no-op client.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggingClientcreateAndStart(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor, java.util.function.Function<org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor,org.apache.beam.vendor.grpc.v1p69p0.io.grpc.ManagedChannel> channelFactory)A factory forLoggingClients.
-
-
-
Method Detail
-
createAndStart
public static LoggingClient createAndStart(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor, java.util.function.Function<org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor,org.apache.beam.vendor.grpc.v1p69p0.io.grpc.ManagedChannel> channelFactory)
A factory forLoggingClients. ProvidesBeamFnLoggingClientif the logging service is enabled, otherwise provides a no-op client.
-
-