This service is written in Python. This is a consumer that listens for new messages in Redis queue and prints message content to the standard output.
The service scans environment for variables:
REDIS_HOST- host of RedisREDIS_PORT- port of RedisREDIS_CHANNEL- channel the processor is going to listen to
pip3 install -r requirements.txt
REDIS_HOST=127.0.0.1 REDIS_PORT=6379 REDIS_CHANNEL=log_channel python3 main.py
Here you can find the software required to run this microservice, as well as the version we have tested.
| Dependency | Version |
|---|---|
| Redis | 7.0 |
| Python | 3.6 |
| Pip | default |
default is the one comes with Python