You don't want more than one ActorSystem per process.
If each BC is a separate process (a la microservices) then having something
like Kafka to durably message between them would be great.
Within an ActorSystem, you can use the Akka EventBus to (non-durably)
message between root-level actors that don't know about each other directly.
I think Vaughn Vernon is working on a book for you :)

On Fri, Jun 5, 2015 at 4:19 AM, wonderful world <[email protected]> wrote:

> I have a BillingManager Bounded Context (DDD concept) whose job is to
> charge the user for the orders they have placed. There is an OrderManager
> that places the orders. They exist in two different Bounded Contexts.
>
> As per the DDD, one Bounded Context should interact with another Bounded
> Context via messages or events only. I'm trying to understand the right
> pattern for the integration of these BCs. Is the right pattern (1) the
> OrderManager and the BillingManager live in the same actor system and they
> interact each other via pub-sub? (2) OrderManager and BillingManager exist
> in two actor systems, and the OrderManager actor system TELL the Billing
> Manager to process the order (3) introduce a Bus or Queue so the
> OrderManager queue up the orders and the BillingManager poll the queue to
> retrieve orders and process them?
>
> What would you suggest?
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to