setup follower by publisher
* the subscriber would getOrGen a local partition and wait * the publisher would getOrGen a local partition. If localPartition follower is not setup, and init message has follower info, it would create followers based on init.Messages.
This commit is contained in:
@@ -170,14 +170,9 @@ message SubscriberToSubCoordinatorRequest {
|
||||
}
|
||||
}
|
||||
message SubscriberToSubCoordinatorResponse {
|
||||
message AssignedPartition {
|
||||
Partition partition = 1;
|
||||
int64 ts_ns = 2;
|
||||
string broker = 3;
|
||||
}
|
||||
message Assignment {
|
||||
int64 generation = 1;
|
||||
repeated AssignedPartition assigned_partitions = 2;
|
||||
repeated BrokerPartitionAssignment partition_assignments = 2;
|
||||
}
|
||||
oneof message {
|
||||
Assignment assignment = 1;
|
||||
@@ -236,6 +231,7 @@ message SubscribeMessageRequest {
|
||||
Topic topic = 4;
|
||||
PartitionOffset partition_offset = 5;
|
||||
string filter = 6;
|
||||
repeated string follower_brokers = 7;
|
||||
}
|
||||
message AckMessage {
|
||||
int64 sequence = 1;
|
||||
|
||||
Reference in New Issue
Block a user