Class CursorServiceGrpc.CursorServiceBlockingStub (1.6.1)

public static final class CursorServiceGrpc.CursorServiceBlockingStub extends AbstractBlockingStub<CursorServiceGrpc.CursorServiceBlockingStub>

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CursorServiceGrpc.CursorServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected CursorServiceGrpc.CursorServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CursorServiceGrpc.CursorServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

commitCursor(CommitCursorRequest request)

public CommitCursorResponse commitCursor(CommitCursorRequest request)

Updates the committed cursor.

Parameter
NameDescription
requestCommitCursorRequest
Returns
TypeDescription
CommitCursorResponse

listPartitionCursors(ListPartitionCursorsRequest request)

public ListPartitionCursorsResponse listPartitionCursors(ListPartitionCursorsRequest request)

Returns all committed cursor information for a subscription.

Parameter
NameDescription
requestListPartitionCursorsRequest
Returns
TypeDescription
ListPartitionCursorsResponse