chrislu
25b2850e7d
refactor out FilerClientAccessor
7 months ago
chrislu
f0b9e163a0
avoid nil stopChan
7 months ago
chrislu
edc87c16f9
balance subscribers
need to ensure the offsets are persisted
7 months ago
chrislu
96b326a304
use type ConsumerGroupInstanceId
7 months ago
chrislu
37d1ee562d
refactor
7 months ago
chrislu
d40b350f54
coordinator receives unassignment ack
7 months ago
chrislu
d5abffa42c
rename Balancer to PubBalancer
7 months ago
chrislu
2190d59bc3
refactor
ToDo
1. handle unassignment on client side
2. get notified of completed unassignment
3. in consumer_group.go, balance and send unassignment
7 months ago
chrislu
3622196881
go fmt
7 months ago
chrislu
c6db3f31a1
start consuming ASAP
7 months ago
chrislu
b1871427c3
persist consumer group offset
1. use one follower
2. read write consumer group offset
7 months ago
chrislu
759a8e50cf
remove logs
7 months ago
chrislu
972e9faaa2
move initial assignment to rebalance logic
7 months ago
chrislu
6e5075e14e
move read write topic config into filer client accessor
7 months ago
chrislu
ac63f2b5a1
refactor
7 months ago
chrislu
844a1a0192
rename
7 months ago
chrislu
372bd8d71d
consumer instance passing MaxPartitionCount to coordinator
7 months ago
chrislu
205d2285f3
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.
9 months ago
chrislu
1b4484bf0a
go fmt
10 months ago
chrislu
f750a5e03b
passing timestamp
12 months ago
chrislu
35869b5c80
subscriber can be notified of the assignment change when topic is just configured
Next: Subscriber needs to read by the timestamp offset.
12 months ago
chrislu
2845230329
passing broker into the assignments
12 months ago
chrislu
093fdc1621
subscriber can get assignments
12 months ago
chrislu
c950a40aad
subscriber keep connected to the balancer
1 year ago
chrislu
e0727071c8
go fmt
1 year ago
Chris Lu
580940bf82
Merge accumulated changes related to message queue ( #5098 )
* balance partitions on brokers
* prepare topic partition first and then publish, move partition
* purge unused APIs
* clean up
* adjust logs
* add BalanceTopics() grpc API
* configure topic
* configure topic command
* refactor
* repair missing partitions
* sequence of operations to ensure ordering
* proto to close publishers and consumers
* rename file
* topic partition versioned by unixTimeNs
* create local topic partition
* close publishers
* randomize the client name
* wait until no publishers
* logs
* close stop publisher channel
* send last ack
* comments
* comment
* comments
* support list of brokers
* add cli options
* Update .gitignore
* logs
* return io.eof directly
* refactor
* optionally create topic
* refactoring
* detect consumer disconnection
* sub client wait for more messages
* subscribe by time stamp
* rename
* rename to sub_balancer
* rename
* adjust comments
* rename
* fix compilation
* rename
* rename
* SubscriberToSubCoordinator
* sticky rebalance
* go fmt
* add tests
* balance partitions on brokers
* prepare topic partition first and then publish, move partition
* purge unused APIs
* clean up
* adjust logs
* add BalanceTopics() grpc API
* configure topic
* configure topic command
* refactor
* repair missing partitions
* sequence of operations to ensure ordering
* proto to close publishers and consumers
* rename file
* topic partition versioned by unixTimeNs
* create local topic partition
* close publishers
* randomize the client name
* wait until no publishers
* logs
* close stop publisher channel
* send last ack
* comments
* comment
* comments
* support list of brokers
* add cli options
* Update .gitignore
* logs
* return io.eof directly
* refactor
* optionally create topic
* refactoring
* detect consumer disconnection
* sub client wait for more messages
* subscribe by time stamp
* rename
* rename to sub_balancer
* rename
* adjust comments
* rename
* fix compilation
* rename
* rename
* SubscriberToSubCoordinator
* sticky rebalance
* go fmt
* add tests
* tracking topic=>broker
* merge
* comment
1 year ago