I need some guidance on the solutioning of a problem which I am facing at the moment. I have a microservice which is deployed in 8 pods and it has a JMS listener which is enabled in all the pods to increase parallelism.
Now the event is getting processed in different order and not able to maintain the order of event processing. The business required the events to be processed in a specific order (Event contains a sequence no, which guarantees the order). But we need the parallelism in place to run the listeners in multiple pods.
If anyone have any suggestions of how to design it, please can you share? using DB or redis or any other component?
Thanks Sandeep
Aucun commentaire:
Enregistrer un commentaire