فهرست منبع

feat(queue): move design docs to the EIP

Ilya Averyanov 1 سال پیش
والد
کامیت
7658e081c5
2فایلهای تغییر یافته به همراه4 افزوده شده و 9 حذف شده
  1. 4 9
      apps/emqx_ds_shared_sub/README.md
  2. BIN
      apps/emqx_ds_shared_sub/docs/images/groupsm_leader_communication.png

+ 4 - 9
apps/emqx_ds_shared_sub/README.md

@@ -4,20 +4,15 @@ This application makes durable session capable to cooperatively replay messages
 
 
 # General layout and interaction with session
 # General layout and interaction with session
 
 
+The general idea is described in the [EIP 0028](https://github.com/emqx/eip/blob/main/active/0028-durable-shared-subscriptions.md).
+
+On the code level, the application is organized in the following way:
+
 ![General layout](docs/images/ds_shared_subs.png)
 ![General layout](docs/images/ds_shared_subs.png)
 
 
 * The nesting reflects nesting/ownership of entity states.
 * The nesting reflects nesting/ownership of entity states.
 * The bold arrow represent the [most complex interaction](https://github.com/emqx/eip/blob/main/active/0028-durable-shared-subscriptions.md#shared-subscription-session-handler), between session-side group subscription state machine (**GroupSM**) and the shared subscription leader (**Leader**).
 * The bold arrow represent the [most complex interaction](https://github.com/emqx/eip/blob/main/active/0028-durable-shared-subscriptions.md#shared-subscription-session-handler), between session-side group subscription state machine (**GroupSM**) and the shared subscription leader (**Leader**).
 
 
-# GroupSM and Leader communication
-
-The target state of GroupSM and its representation in Leader is `replaying`. That is, when the GroupSM and the Leader agree on the leased streams, Leader sends lease confirmations to the GroupSM, the GroupSM sends iteration updates.
-
-Other states are used to gracefully reassign streams to the GroupSM.
-
-Below is the sequence diagram of the interaction.
-
-![GroupSM and Leader communication](docs/images/groupsm_leader_communication.png)
 
 
 # Contributing
 # Contributing
 
 

BIN
apps/emqx_ds_shared_sub/docs/images/groupsm_leader_communication.png