Hi @Gerard
Here I want to elaborate on the scenario:
At first, I send a CreateGroup Request.
Logs are as follows:
20:16:45.020 INFO com.testing.classification.master.ClassMaster -
ClassMaster - Command: CreateGroupCmd 33591f70-da1a-49f5-9e46-87494e2570b6
20:16:45.076 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
The second time, I sent a CreateGroup request.
Logs are as follows:
20:17:04.177 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
20:17:04.181 INFO com.testing.classification.master.ClassMaster -
ClassMaster - Command: CreateGroupCmd 33591f70-da1a-49f5-9e46-87494e2570b6
20:17:04.182 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
The third time, I sent a CreateGroup request.
Logs are as follows:
20:17:31.521 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
20:17:31.513 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
20:17:31.515 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
20:17:31.517 INFO com.testing.classification.master.ClassMaster -
ClassMaster - Command: CreateGroupCmd 33591f70-da1a-49f5-9e46-87494e2570b6
20:17:31.521 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
In the whole process, the previous Events got triggered. I want to stop triggering the previous events.
Expected log for the Next Group Creation request: (for the third time, Sending Group Creation Request)
20:17:31.517 INFO com.testing.classification.master.ClassMaster -
ClassMaster - Command: CreateGroupCmd 33591f70-da1a-49f5-9e46-87494e2570b6
20:17:31.521 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
But the Actual log for the Next Group Creation request:
20:17:31.521 INFO com.testing.classification.master.events.GroupCreatedEvt -
********************* GroupCreatedEvt *********************
20:17:31.513 INFO com.testing.classification.master.events.GroupCreatedEvt -
********************* GroupCreatedEvt *********************
20:17:31.515 INFO com.testing.classification.master.events.GroupCreatedEvt -
********************** GroupCreatedEvt **********************
20:17:31.517 INFO com.testing.classification.master.ClassMaster -
ClassMaster - Command: CreateGroupCmd 33591f70-da1a-49f5-9e46-87494e2570b6
20:17:31.521 INFO com.testing.classification.master.events.GroupCreatedEvt -
*********************** GroupCreatedEvt ***********************
Can you suggest a solution to my problem?
Thank You