You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Phil H <gi...@gmail.com> on 2019/12/06 02:04:12 UTC
Forcing cluster traffic to a single node
Hi there,
I have a GetTCP processor running on both members of my cluster. I want to
force data received by both to a processor running on a single node. At the
moment, if I set that processor to run on only the primary, the queue from
the GetTCP processor on the secondary node just fills up.
Regards,
Phil
Re: Forcing cluster traffic to a single node
Posted by Phil H <gi...@gmail.com>.
Thanks Mark, that’s working a treat - I must have tried every other
combination!
On Fri, 6 Dec 2019 at 13:09, Mark Payne <ma...@hotmail.com> wrote:
> Phil,
>
> You can configure the connection between GetTCP and the next processor to
> have a Load Balancing Strategy of “Single Node.” Then run the next
> processor on all nodes, not primary node, because it may not be the primary
> node that receives the data.
>
> Thanks
> -Mark
>
> Sent from my iPhone
>
> > On Dec 5, 2019, at 9:04 PM, Phil H <gi...@gmail.com> wrote:
> >
> > Hi there,
> >
> > I have a GetTCP processor running on both members of my cluster. I want
> to
> > force data received by both to a processor running on a single node. At
> the
> > moment, if I set that processor to run on only the primary, the queue
> from
> > the GetTCP processor on the secondary node just fills up.
> >
> > Regards,
> > Phil
>
Re: Forcing cluster traffic to a single node
Posted by Mark Payne <ma...@hotmail.com>.
Phil,
You can configure the connection between GetTCP and the next processor to have a Load Balancing Strategy of “Single Node.” Then run the next processor on all nodes, not primary node, because it may not be the primary node that receives the data.
Thanks
-Mark
Sent from my iPhone
> On Dec 5, 2019, at 9:04 PM, Phil H <gi...@gmail.com> wrote:
>
> Hi there,
>
> I have a GetTCP processor running on both members of my cluster. I want to
> force data received by both to a processor running on a single node. At the
> moment, if I set that processor to run on only the primary, the queue from
> the GetTCP processor on the secondary node just fills up.
>
> Regards,
> Phil