A distributed task scheduler based off of the architecture used at slack
A docker-compose file has been provided with all the different components. Make sure you have docker installed and run the following command
docker-compose upSome services will continously fail and restart until kafka and consul are running so you have to wait.
The kafkagate service is listening for requests on port 8000. Send a POST request to http://localhost:8000/job with the following payload.
{
"jobType": "test",
"payload": "hello world"
}
Check the logs from docker compose and the job should be added to kafka, then sent to redis, then processed by the worker as shown below.
