This service is a part of the repo: microservices-training-ground
The main purpose of this service is to subscribe questions from the stackoverflow site. Each instance of the service can subscribe to one tag. If you need to subscribe more tags please run more instances of the service.
You should run this service via docker compose in main repo microservices-training-ground
Create env file:
scripts/create_env_file.sh <your tag as arg>
APP_URL - stackoverflow api address
FILTER - filters are responsible for the SO rest api response shape. You shouldn’t change it.
TAGGED - Your tag
REQEST_LIMIT_PER_SEC= request limit per second. should be lower than 30
DELAY_BETWEEN_CHECKS=time (minutes) between checking for the new questions. Should be greater or equal to 1.