public abstract static class PartitionAssignmentServiceGrpc.PartitionAssignmentServiceImplBase extends Object implements io.grpc.BindableService
The service that a subscriber client application uses to determine which partitions it should connect to.
| Constructor and Description |
|---|
PartitionAssignmentServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.stub.StreamObserver<PartitionAssignmentRequest> |
assignPartitions(io.grpc.stub.StreamObserver<PartitionAssignment> responseObserver)
Assign partitions for this client to handle for the specified subscription.
|
io.grpc.ServerServiceDefinition |
bindService() |
public io.grpc.stub.StreamObserver<PartitionAssignmentRequest> assignPartitions(io.grpc.stub.StreamObserver<PartitionAssignment> responseObserver)
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2023 Google LLC. All rights reserved.