Microservices architecture studies project using Apache Kafka® 🚀
- Docker: 19.03.13 or higher.
- docker-compose: 1.27.4 or higher.
Let's start by creating a new .env
file. To do this, simply execute the command below:
$ cp .env.example .env
You can also copy the contents of the
.env.example
file and paste it into an.env
file at the root of the project directory.
In the contents of this repository there is a collection of postman that can be imported to carry out HTTP requests.
It is located at: docs/fiap-netflix.postman_collection.json
After installing all the requirements and (creating the .env
file), run the follow script:
./run.sh
It is possible to pass the
--build
flag to rebuild thedocker-compose
services (e.g.:./run.sh --build
)
Below is a simple mapping of which, where and how microservices integrate!
Then a sequence diagram that explains the flow of how a watched video is reflected in the catalog through communication between microservices: