Global Task Management

Hi guys,
I’m starting to study the microservices architecture and I have a requirement.

For example, I have two microservices that contain camunda and have indipendent database.

M1 (camunda, oracle db1)
M2 (camunda, oracle db2)

I want create a new microservice in order to manage the global tasks, started on M1 or M2.

What is the best practice in order to cover this scenario?

Thanks