Skip to content

Service discovery with Consul #140

Answered by sakno
wux5 asked this question in Q&A
Dec 23, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It was deprecated because Raft has its own membership protocol out-of-the-box. There is no need to use maintain external membership list, Raft nodes keep up-to-date list of cluster members, which consistency is guaranteed by the leader. The leader node is responsible for any manipulations with that list: adding, removing, and replication.

Check this and this articles first. If you're using DotNext.AspNetCore.Cluster library, then check methods of IRaftHttpCluster interface. It has everything you need to add/remove cluster nodes using the leader node. Also, take a look at #122 discussion about K8s hosting.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wux5
Comment options

Answer selected by wux5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants