Class LoggingClientFactory


  • public class LoggingClientFactory
    extends java.lang.Object
    A factory for LoggingClients. Provides BeamFnLoggingClient if 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 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 for LoggingClients.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 for LoggingClients. Provides BeamFnLoggingClient if the logging service is enabled, otherwise provides a no-op client.