Class CursorServiceGrpc (1.15.0)

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
Type Description
String

Static Methods

bindService(CursorServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CursorServiceGrpc.AsyncService service)
Parameter
Name Description
service CursorServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCommitCursorMethod()

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

getListPartitionCursorsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStreamingCommitCursorMethod()

public static MethodDescriptor<StreamingCommitCursorRequest,StreamingCommitCursorResponse> getStreamingCommitCursorMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
CursorServiceGrpc.CursorServiceStub