public static final class TopicStatsServiceGrpc.TopicStatsServiceFutureStub extends io.grpc.stub.AbstractFutureStub<TopicStatsServiceGrpc.TopicStatsServiceFutureStub>
This service allows users to get stats about messages in their topic.
| Modifier and Type | Method and Description |
|---|---|
protected TopicStatsServiceGrpc.TopicStatsServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<ComputeHeadCursorResponse> |
computeHeadCursor(ComputeHeadCursorRequest request)
Compute the head cursor for the partition.
|
com.google.common.util.concurrent.ListenableFuture<ComputeMessageStatsResponse> |
computeMessageStats(ComputeMessageStatsRequest request)
Compute statistics about a range of messages in a given topic and
partition.
|
com.google.common.util.concurrent.ListenableFuture<ComputeTimeCursorResponse> |
computeTimeCursor(ComputeTimeCursorRequest request)
Compute the corresponding cursor for a publish or event time in a topic
partition.
|
protected TopicStatsServiceGrpc.TopicStatsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TopicStatsServiceGrpc.TopicStatsServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<ComputeMessageStatsResponse> computeMessageStats(ComputeMessageStatsRequest request)
Compute statistics about a range of messages in a given topic and partition.
public com.google.common.util.concurrent.ListenableFuture<ComputeHeadCursorResponse> computeHeadCursor(ComputeHeadCursorRequest request)
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 com.google.common.util.concurrent.ListenableFuture<ComputeTimeCursorResponse> computeTimeCursor(ComputeTimeCursorRequest request)
Compute the corresponding cursor for a publish or event time in a topic partition.
Copyright © 2023 Google LLC. All rights reserved.