Skip to content

Conversation

@clebertsuconic
Copy link
Contributor

I'm adding a LeaderManager to the broker, that will use DistributedLock to determine the node that will be the lead.

You can associate the leaderManager with acceptors and an acceptor serving only clients would then be activated in only one of the brokers.

@clebertsuconic clebertsuconic force-pushed the lock branch 18 times, most recently from 3e76798 to 940e9c4 Compare January 26, 2026 17:10
@clebertsuconic clebertsuconic force-pushed the lock branch 7 times, most recently from 3367529 to 8372c9c Compare January 27, 2026 01:48
@clebertsuconic
Copy link
Contributor Author

I just split this into 2 commits. they are still in the same PR as the etcd still depending on the first commit.

@clebertsuconic clebertsuconic force-pushed the lock branch 3 times, most recently from 521369c to cc8ee7d Compare January 27, 2026 02:05
@clebertsuconic
Copy link
Contributor Author

@gtully it should work with broker properties, but I don't have a test yet...

@clebertsuconic
Copy link
Contributor Author

jdbc can be done.. but it would be a future task.. I wouldn't hold this for now.

@clebertsuconic clebertsuconic force-pushed the lock branch 3 times, most recently from f5024bb to 48ea524 Compare January 27, 2026 17:36
@clebertsuconic clebertsuconic marked this pull request as draft January 27, 2026 17:47
@clebertsuconic clebertsuconic force-pushed the lock branch 8 times, most recently from 92763c4 to 36313f5 Compare January 27, 2026 18:15
@clebertsuconic clebertsuconic marked this pull request as ready for review January 27, 2026 20:01
@clebertsuconic clebertsuconic force-pushed the lock branch 8 times, most recently from 3bc3d5a to 06a760d Compare January 28, 2026 00:09
@clebertsuconic
Copy link
Contributor Author

@gtully I have fixed the usage of broker properties, and simplified this quite a lot.

I intended to write documentation today but I got stuck on removing etcd and the needed cleanup after removing it.

@clebertsuconic clebertsuconic force-pushed the lock branch 4 times, most recently from 31c7fab to 8a83588 Compare January 28, 2026 01:51
I'm adding a LeaderManager to the broker, that will use DistributedLock
to determine the node that will be the lead.

You can associate the leaderManager with acceptors and an acceptor
serving only clients would then be activated in only one of the brokers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants