-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction RollBack Option #1219
Comments
@JapaharJose, could you kindly specify the package you are utilizing - |
@intech We are using mongodb and mongoose adapter. |
Can anyone answer this? |
@JapaharJose AFAIK neither The Moleculer framework itself focuses primarily on the composition and control of microservices for which there is no standard/inherent transactional practice/pattern. I highly recommend reviewing the patterns documented for both data management and transactional messages in microservice systems over on https://microservices.io/. The Moleculer DB package which provides some standard, supported database adapters targeting various database management systems for Moleculer services also, as far as I know, is relatively unopinionated about the approach and utilization. How your application handles transactions - for both data management and inter-service messaging - is something your application will need to implement. |
Is there any option to rollback the emitted transaction(db update) when there is any error occurred in the process.
The text was updated successfully, but these errors were encountered: