public abstract static class TopicStatsServiceGrpc.TopicStatsServiceImplBase extends Object implements io.grpc.BindableService
This service allows users to get stats about messages in their topic.
| Constructor and Description |
|---|
TopicStatsServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
computeHeadCursor(ComputeHeadCursorRequest request,
io.grpc.stub.StreamObserver<ComputeHeadCursorResponse> responseObserver)
Compute the head cursor for the partition.
|
void |
computeMessageStats(ComputeMessageStatsRequest request,
io.grpc.stub.StreamObserver<ComputeMessageStatsResponse> responseObserver)
Compute statistics about a range of messages in a given topic and
partition.
|
void |
computeTimeCursor(ComputeTimeCursorRequest request,
io.grpc.stub.StreamObserver<ComputeTimeCursorResponse> responseObserver)
Compute the corresponding cursor for a publish or event time in a topic
partition.
|
public void computeMessageStats(ComputeMessageStatsRequest request, io.grpc.stub.StreamObserver<ComputeMessageStatsResponse> responseObserver)
Compute statistics about a range of messages in a given topic and partition.
public void computeHeadCursor(ComputeHeadCursorRequest request, io.grpc.stub.StreamObserver<ComputeHeadCursorResponse> responseObserver)
Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.
public void computeTimeCursor(ComputeTimeCursorRequest request, io.grpc.stub.StreamObserver<ComputeTimeCursorResponse> responseObserver)
Compute the corresponding cursor for a publish or event time in a topic partition.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2023 Google LLC. All rights reserved.