public static final class PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingV2Stub extends AbstractBlockingStub<PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service PartitionAssignmentService.
The service that a subscriber client application uses to determine which partitions it should connect to.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingV2StubMethods
assignPartitions()
public BlockingClientCall<PartitionAssignmentRequest,PartitionAssignment> assignPartitions()Assign partitions for this client to handle for the specified subscription. The client must send an InitialPartitionAssignmentRequest first. The server will then send at most one unacknowledged PartitionAssignment outstanding on the stream at a time. The client should send a PartitionAssignmentAck after updating the partitions it is connected to to reflect the new assignment.
| Returns | |
|---|---|
| Type | Description |
io.grpc.stub.BlockingClientCall<PartitionAssignmentRequest,PartitionAssignment> |
|
build(Channel channel, CallOptions callOptions)
protected PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingV2Stub |
|