I am designing a stateless service which essentially processes a stream of information and then based on conditions sends emails. I want to host this in service fabric, with more than one active in case of failure, however how do I limit the email to be sent from only the "primary".
Is active/active only valid for stateful services which are partitioned? If the services have to be active/passive then how does the service know when it is now the active one?