How can we handle when there are more services and other 3rd party dependencies between them. #319
-
Let's say there are Also another question, i.e whenever we need to add a new service it should be independent of each other right? What happens when a service wants to use another service ? how do we communicate between these services or should we duplicate the functionality in that case for each service ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It sounds like like you mean customer notifications after the fact when we know we already processed everything we needed to process, in that case I'd use a queue with a payload that indicates:
For the code I'd probably organize those in a new package
Service is such overloaded term, I need a bit of clarification; do you mean service as in |
Beta Was this translation helpful? Give feedback.
@joobisb
It sounds like like you mean customer notifications after the fact when we know we already processed everything we needed to process, in that case I'd use a queue with a payload that indicates:
notificationType
to use such as email, SMS, etc,notificationProvider
like the actual 3rd party provider, maybe you have two different for email, for example, andmessage
which will indicate the content itself.For…