public static final class TraceRecordPubSubGrpc.TraceRecordPubSubStub extends io.grpc.stub.AbstractAsyncStub<TraceRecordPubSubGrpc.TraceRecordPubSubStub>
Modifier and Type | Method and Description |
---|---|
protected TraceRecordPubSubGrpc.TraceRecordPubSubStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
subscribe(Tracepb.TraceRecordRequest request,
io.grpc.stub.StreamObserver<Tracepb.TraceRecord> responseObserver)
Subscribe the Trace records generated on this service.
|
protected TraceRecordPubSubGrpc.TraceRecordPubSubStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TraceRecordPubSubGrpc.TraceRecordPubSubStub>
public void subscribe(Tracepb.TraceRecordRequest request, io.grpc.stub.StreamObserver<Tracepb.TraceRecord> responseObserver)
Subscribe the Trace records generated on this service. The service will periodically (e.g. per minute) publishes Trace records to clients via gRPC stream.
Copyright © 2024 PingCAP. All rights reserved.