Can anyone help me with this problem?
We have many microservices to perform specific tasks by each of them.If a object is edited/deleted from one microservice we need to edit/delete all other child-objects related to that parent object.So what I want to do is start a transaction from the parent microservice and send a message to a message queue to with some unique session information so second microservice can create a session which will behave as the session created by first one and apply changes in database using this recreated session and send a message to parent microservice to commit these changes.
So how can I make mongod server to think that these two sessions are same and not different.
And We cannot reconsider our architectural design, since each microservices is performing a special responsibility.
Thanks in advance