Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (21 sloc) 1.18 KB

Script to display RabbitMQ topology using graphviz, heavily inspired by the RabbitMQ Getting Started tutorial.

To generate the samples (currently only one):

$ make samples

To run:

$ python -d [DEFINITIONS_FILE] -o [DOT_FILE]

Use the -p and -c flags to render a producer and consumer respectively. This assumes one publisher per exchange and one consumer per queue (because the real topology is not known to the broker), but has been included on the basis that it gives a basic outline that can be manually updated if needed.

Per default, the script renders the default vhost '/'. Use the -v flag to explicitely use another vhost.

For help:

$ python -h


  • there is currently no way to render all vhosts in one image

Sample output for the default vhost '/':

Sample Output

Sample output for the custom vhost '/somevhost':

Sample Output