Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.