Bill,

The node assignment can change only when the cluster topology changes. I.e., 
when a new node joins the cluster or a node is removed from the cluster.
Note that this does not include when a node becomes disconnected - only when 
it’s completely removed. At that point, if a different node is elected as the
“Winner” all data will be pushed from the queue to the new node.

Thanks
-Mark

> On Dec 20, 2024, at 9:39 AM, Bill Tsek <billtse...@gmail.com> wrote:
> 
> I want to clarify how single node load balancing works.
> 
> My assumption is the following:
> 
> When load balancing occurs, all flowfiles are directed to the same node, but 
> to which one they are directed to, can change over time.
> 
> So if the queue contains 10 flowfiles right now, they will all be directed to 
> the same node, lets say 'node x'.
> 
> After processing, the queue becomes empty and 100 flowfiles arrive again.
> Now all those flowfiles will be directed to the same node, but that node 
> might not be 'node x'.
> 
> If a flowfile arrives to a non-empty queue, the new flowfile will be directed 
> to the same node as the other flowfiles currently in the queue.
> 
> So the node assignment can change only after a queue is emptied.
> 
> Is my assumption correct? 
> 
> Thank you.

Reply via email to