Class PartitionAssignmentServiceGrpc (1.13.8)

public final class PartitionAssignmentServiceGrpc

The service that a subscriber client application uses to determine which partitions it should connect to.

Inheritance

java.lang.Object > PartitionAssignmentServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(PartitionAssignmentServiceGrpc.AsyncService service)

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

getAssignPartitionsMethod()

public static MethodDescriptor<PartitionAssignmentRequest,PartitionAssignment> getAssignPartitionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PartitionAssignmentRequest,PartitionAssignment>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingStub 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
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingStub

newFutureStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceFutureStub 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
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceFutureStub

newStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceStub 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
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceStub