We presently have a monolithic code base which we’re within the means of extracting some micro-services the place it is apparent to take action.
One factor that stands out is our electronic mail supply. We now have quite a few factors within the code base the place emails are created and are despatched out by way of plenty of totally different templates. What I need to do is take this load and transfer it to a queuing system.
Going ahead the person going through internet app would merely ship a message to the queue stating for instance a mission has been received.
So what I am attempting to work out is the place the information for the e-mail (which generally is a honest quantity at occasions) ought to come from. Ought to we be packaging that information up with the message or ought to the queue handler be taking a look at the kind of electronic mail that must be despatched after which going and getting that data at that time.