public abstract static class CursorServiceGrpc.CursorServiceImplBase extends Object implements io.grpc.BindableService
The service that a subscriber client application uses to manage committed cursors while receiving messsages. A cursor represents a subscriber's progress within a topic partition for a given subscription.
| Constructor and Description |
|---|
CursorServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
commitCursor(CommitCursorRequest request,
io.grpc.stub.StreamObserver<CommitCursorResponse> responseObserver)
Updates the committed cursor.
|
void |
listPartitionCursors(ListPartitionCursorsRequest request,
io.grpc.stub.StreamObserver<ListPartitionCursorsResponse> responseObserver)
Returns all committed cursor information for a subscription.
|
io.grpc.stub.StreamObserver<StreamingCommitCursorRequest> |
streamingCommitCursor(io.grpc.stub.StreamObserver<StreamingCommitCursorResponse> responseObserver)
Establishes a stream with the server for managing committed cursors.
|
public io.grpc.stub.StreamObserver<StreamingCommitCursorRequest> streamingCommitCursor(io.grpc.stub.StreamObserver<StreamingCommitCursorResponse> responseObserver)
Establishes a stream with the server for managing committed cursors.
public void commitCursor(CommitCursorRequest request, io.grpc.stub.StreamObserver<CommitCursorResponse> responseObserver)
Updates the committed cursor.
public void listPartitionCursors(ListPartitionCursorsRequest request, io.grpc.stub.StreamObserver<ListPartitionCursorsResponse> responseObserver)
Returns all committed cursor information for a subscription.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2023 Google LLC. All rights reserved.