public class BeamFnLoggingClient
extends java.lang.Object
implements java.lang.AutoCloseable
java.util.logging to send all LogRecords via the Beam Fn Logging API.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static BeamFnLoggingClient |
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.v1p54p0.io.grpc.ManagedChannel> channelFactory) |
java.util.concurrent.CompletableFuture<?> |
terminationFuture() |
java.lang.String |
toString() |
public static BeamFnLoggingClient 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.v1p54p0.io.grpc.ManagedChannel> channelFactory)
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic java.util.concurrent.CompletableFuture<?> terminationFuture()
public java.lang.String toString()
toString in class java.lang.Object