Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davideferre/docker_compose_rabbitmq_topic_sample

Sample for testing docker compose with rabbitmq topics
https://github.com/davideferre/docker_compose_rabbitmq_topic_sample

Last synced: about 2 months ago
JSON representation

Sample for testing docker compose with rabbitmq topics

Awesome Lists containing this project

README

        

# docker_compose_rabbitmq_topic_sample
**docker_compose_rabbitmq_topic_sample** is an example on how to use docker compose for running a [rabbitmq server](https://www.rabbitmq.com/) and a receiver python script on _'#'_ topic.
## Quick start
With `docker-compose up` you can run the containers.
After running containers you have to create a python 3 virtualenv with [pika](https://pika.readthedocs.io) installed and run the emitter like `python emit_log_topic.py "some.thing" "A topic message"`.
**Rabbitmq** is listening on _5672_ port on _localhost_ and **rabbitmq management web app** is exposed on http://localhost:15672.