/Publisher-Subscriber-ZMQ

Reliable publish-subscribe service with Python and ZeroMQ

Primary LanguagePython

Publisher-subscriber message service

Reliable publish-subscribe service with Python and ZeroMQ. A detailed description of the project is available in the docs directory. This project was developed during the course of Large Scale Distributed Systems (SDLE) at FEUP.

Group members:

  1. Alexandre Abreu
  2. Diana Freitas
  3. Juliane Marubayashi
  4. Simão Lúcio

How to run the program

Constraints

This project must be executed in unix environment, since the zqm does not support windows.

Virtual environment

Make sure you have python 3 and pipenv installed as a global dependecy.

To install the dependencies (from src/):

pipenv install

To activate the python environment that is used in the project run the following command (from src/):

pipenv shell

How to execute

To run the project the only necessary command is:

python -m service [server | subscriber <messages_filename> <id>| publisher <topics_filename> <id>]