Class CursorServiceGrpc (1.11.2)

public final class CursorServiceGrpc

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 > CursorServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCommitCursorMethod()

public static MethodDescriptor<CommitCursorRequest,CommitCursorResponse> getCommitCursorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CommitCursorRequest,CommitCursorResponse>

getListPartitionCursorsMethod()

public static MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse> getListPartitionCursorsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPartitionCursorsRequest,ListPartitionCursorsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStreamingCommitCursorMethod()

public static MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse> getStreamingCommitCursorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse>

newBlockingStub(Channel channel)

public static CursorServiceGrpc.CursorServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CursorServiceGrpc.CursorServiceBlockingStub

newFutureStub(Channel channel)

public static CursorServiceGrpc.CursorServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CursorServiceGrpc.CursorServiceFutureStub

newStub(Channel channel)

public static CursorServiceGrpc.CursorServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CursorServiceGrpc.CursorServiceStub