Super
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
docs/plugins/inventories/dapr-actors/README.md
|
|
|
@ -17,6 +17,8 @@ EShop product-inventory implementation of [Dapr Actors](https://docs.dapr.io/dev |
|
|
|
|
|
|
|
2. Add `DependsOn(typeof(EShopXxxModule))` attribute to configure the module dependencies. ([see how](https://github.com/EasyAbp/EasyAbpGuide/blob/master/docs/How-To.md#add-module-dependencies)) |
|
|
|
|
|
|
|
3. Configure a state store for the inventory actor. ([see how](https://docs.dapr.io/reference/api/state_api/#configuring-state-store-for-actors)) |
|
|
|
|
|
|
|
## Usage |
|
|
|
|
|
|
|
1. Configure the DaprActors inventory provider as default. |
|
|
|
@ -35,4 +37,4 @@ EShop product-inventory implementation of [Dapr Actors](https://docs.dapr.io/dev |
|
|
|
``` |
|
|
|
> Better to use `DaprActorsProductInventoryProvider.DaprActorsProductInventoryProviderName` instead of `"DaprActors"` as the provider name. |
|
|
|
|
|
|
|
2. Create a product and set `InventoryProviderName` to `DaprActors`. Then the product is specified to use the Dapr Actors inventory provider. |
|
|
|
2. Create a product and set `InventoryProviderName` to `DaprActors`. Then the product is specified to use the Dapr Actors inventory provider. |
|
|
|
|