Script to display RabbitMQ topology using graphviz, heavily inspired by the [RabbitMQ Getting Started tutorial](http://www.rabbitmq.com/getstarted.html).

To generate the samples (currently only one):
```
$ make samples
```

To run:
```
$ python rabbitmq_graphviz.py -d [DEFINITIONS_FILE] -o [DOT_FILE]
```

For help:
```
$ python rabbitmq_graphviz.py -h
```

Limitations:
 - there is currently no distinction between vhosts
 - assumes one publisher per exchange and one consumer per queue (because the real topology is not known to the broker)

Sample output:

![Sample Output](https://raw.github.com/ljcoomber/rabbitmq-graphviz/master/samples/tutorial.png "Sample Output")

Script to display RabbitMQ topology using graphviz, heavily inspired by the [RabbitMQ Getting Started tutorial](http://www.rabbitmq.com/getstarted.html).

To generate the samples (currently only one):
```
$ make samples
```

To run:
```
$ python rabbitmq_graphviz.py -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.

For help:
```
$ python rabbitmq_graphviz.py -h
```

Limitations:
 - there is currently no distinction between vhosts

Sample output:

![Sample Output](https://raw.github.com/ljcoomber/rabbitmq-graphviz/master/samples/tutorial.png "Sample Output")

Include info about rendering producers / consumers
Include info about rendering producers / consumers