Browse Source

Clarify instructions for stopping applications before building the solution and improve explanation of the distributed event bus usage in microservices

pull/21648/head
ahmetfarukulu 2 years ago
parent
commit
343f77a3e6
  1. 2
      docs/en/tutorials/microservice/part-05.md
  2. 2
      docs/en/tutorials/microservice/part-07.md

2
docs/en/tutorials/microservice/part-05.md

@ -118,7 +118,7 @@ In this code snippet, we configure the `Order` entity to use the `Orders` table
Now, we can add a new database migration. You can use Entity Framework Core's `Add-Migration` (or `dotnet ef migrations add`) terminal command, but in this tutorial, we will use ABP Studio's shortcut UI.
Ensure that the solution has built. You can right-click the `CloudCrm.OrderingService` (under the `services` folder) on ABP Studio *Solution Explorer* and select the *Dotnet CLI* -> *Graph Build* command.
Please stop the applications if they are running and ensure that the solution has built. You can right-click the `CloudCrm.OrderingService` (under the `services` folder) on ABP Studio *Solution Explorer* and select the *Dotnet CLI* -> *Graph Build* command.
Right-click the `CloudCrm.OrderingService` package and select the *EF Core CLI* -> *Add Migration* command:

2
docs/en/tutorials/microservice/part-07.md

@ -16,7 +16,7 @@ ABP provides two types of event buses for loosely coupled communication:
* [Local Event Bus](../../framework/infrastructure/event-bus/local/index.md) is suitable for in-process messaging. However, it’s not suitable for microservices as it cannot communicate across different processes. For distributed systems, consider using a distributed event bus.
* **[Distributed Event Bus](../../framework/infrastructure/event-bus/distributed/index.md)** is normal for inter-process messaging, like microservices, for publishing and subscribing to distributed events. However, ABP's distributed event bus works as local (in-process) by default (actually, it uses the Local Event Bus under the hood by default) unless you configure an external message broker.
* [Distributed Event Bus](../../framework/infrastructure/event-bus/distributed/index.md) is normal for inter-process messaging, like microservices, for publishing and subscribing to distributed events. However, ABP's distributed event bus works as local (in-process) by default (actually, it uses the Local Event Bus under the hood by default) unless you configure an external message broker.
In this tutorial, we will use the distributed event bus to communicate between the `Order` and `Catalog` microservices.

Loading…
Cancel
Save