Re: KRaft Observer Nodes

2024-03-25 Thread Paolo Patierno
Hi Sanaa, yes it's enough NOT having the "controller" role to be just an "observer". As soon as your node has "controller" role configured (in addition to "broker" or alone) it acts as a "voter" and then being a leader or "follower" based on the election result. Thanks Paolo On Mon, 25 Mar 2024,

Re: KRaft Observer Nodes

2024-03-25 Thread Sanaa Syed
Hi Paolo, If I'm understanding correctly, a kafka broker (aside from the controller quorum) can be the observer? Do we need to set the process role to anything in this case to indicate that we want a broker to be an observer? On Sun, Mar 24, 2024 at 3:01 PM Paolo Patierno wrote: > Hi Sanaa, > i

Re: KRaft Observer Nodes

2024-03-24 Thread Paolo Patierno
Hi Sanaa, in KRaft mode there is the role of "observer" which is typically taken by brokers as part of the data plane. The broker/observer can discover which node is the leader/active controller and fetches the metadata from it (as the "followers" in the KRaft quorum), but cannot vote and cannot be

KRaft Observer Nodes

2024-03-24 Thread Sanaa Syed
Hello, Currently in Zookeeper, there is the concept of an observer/dummy node that can be used when scaling up a cluster ( https://zookeeper.apache.org/doc/r3.4.13/zookeeperObservers.html). Is there an equivalent of an observer node in KRaft mode? Asking because we use the observer node for our s