iris_python_client

Iris message bus


License
MIT
Install
pip install iris_python_client==0.1

Documentation

Iris

Iris - simple json message bus

This project is a thin wrapper around Amazon AWS SNS/SQS to provide a simple message bus.

Each Iris instance has an SNS topic, and a series of queues, one per listener, which are subscribed to that topic. Messages sent to the topic are re-sent to listeners via their queues. All listeners receive all messages, there is not routing.

  • example_iris_settings.py is an example of the settings required for Iris. The default iris_settings.py file obtains these from environment variables.
  • demo_send_iris_message.py demonstrates a how to send an Iris message
  • demo_iris_listener.py demonstrates how to create a simple Iris listener.