docker compose up -dcreate a 'test' topic
curl -d 'hello world 1' 'http://127.0.0.1:4151/pub?topic=test'it will 'hang' in the Terminal until it receives message from 'test' topic
python3 -m venv env && source env/bin/activate
pip install -r requirements.py
python3 main.py- in a new terminal
curl -d 'hello world 1' 'http://127.0.0.1:4151/pub?topic=test'
curl -d 'hello world 2' 'http://127.0.0.1:4151/pub?topic=test'you'll see the messages get printed in the python script's shell