Microservices with External Integration

by Amdguez   Last Updated May 22, 2020 23:05 PM - source

I am creating a microservice based application which has to interact with Github through its API. Some of the microservices are Projects, Tasks, etc.

My question is: should I have a microservice dedicated only to communication with github? so when I need to create a project in the project microservices, I register it in my database and send an event to the github microservice to create the project in github (same for task microservices, send an event to the microservice of github to create the task).

Or should I do the communication with github in each microservice, registering the project (or task) in my database and registering it in github?

Related Questions

How to fit a rules engine in a microservice architecture?

Updated September 23, 2016 09:02 AM

Should Microservices talk to each other?

Updated October 16, 2017 22:05 PM

How to create a microservice-ready monolithic app?

Updated April 26, 2019 08:05 AM