Support Questions

Find answers, ask questions, and share your expertise

Does ListenSMTP need LB?

avatar
Master Guru

I am interested in using ListenSMTP processor. The use case is the exchange team will forward emails via SMTP forwarder and expects listening side (nifi) to handle smtp protocol. The use case is working well during testing and POC. However I have 3 nodes and each has ListenSMTP processor running. If I have exchange forward messages to a specific DNS:port, does nifi load balance it self by routing smtp message to other slaves nodes, basically so not all messages have to be consumed by single slave node ListenSMTP processor. Or do I need a load balancer which will give me single DNS:Port, and it will route message to slave nodes in some algorithm type (ie round robin)? your insights appreciated.

1 ACCEPTED SOLUTION

avatar
Master Guru

I found the answer to this. ListenSMTP can sit behind LB if the processor will run on all nodes if single DNS is to be exposed. you can also have processor only run on single node (primary).

Another option, not tested or fully vetted. have SMTP response payload into nifi rest processor. from there push to process group which will have SMTPListen processor. This will automatically load balance

@Artem Ervits I provided this answer after some research. no response from other. please accept if this answer is good.

View solution in original post

1 REPLY 1

avatar
Master Guru

I found the answer to this. ListenSMTP can sit behind LB if the processor will run on all nodes if single DNS is to be exposed. you can also have processor only run on single node (primary).

Another option, not tested or fully vetted. have SMTP response payload into nifi rest processor. from there push to process group which will have SMTPListen processor. This will automatically load balance

@Artem Ervits I provided this answer after some research. no response from other. please accept if this answer is good.