You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/feathers-distributed/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,13 @@ __
8
8
9
9
Detailed documentation is available at the following [link](https://kalisio.github.io/feathers-ekosystem/pacakges/feathers-distributed).
10
10
11
+
In the tests four apps are actually created, each app has a distribution key corresponding to its index:
12
+
- a gateway (index 0) with a local `users` service then a dynamically added local `custom` service with an additional `custom` event (`created`/`custom` events distributed)
13
+
- a first app (index 1) without any local service but with the distributed gateway services
14
+
- a second app (index 2) without any local service but with the distributed gateway services
15
+
- a third app (index 3) with a local `no-events` service with an additional `custom` event (all events distributed) and with the distributed gateway services
16
+
The `custom` service is exposed remotely on a new `custom-name` name.
debug(`Dispatching ${event} remote service event on path ${object.path} in local app with uuid ${app.shortUuid} and key ${app.distributionKey}`,object,context)
0 commit comments