skip to navigation
skip to content

asgi_amqp 1.1.1

AMQP-backed ASGI channel layer implementation

An ASGI channel layer that uses AMQP as its backing store with group support.


The asgi_amqp channel layer looks for settings in ASGI_AMQP and has the following configuration options. URL and connection settings are configured through CHANNEL_LAYER same as any channel layer.

MODEL Set a custom ChannelGroup model to use. See more about this in the ChannelGroup Model section of this README.


ASGI_AMQP = {'MODEL': 'awx.main.models.channels.ChannelGroup'}

INIT_FUNC A function that you want run when the channel layer is first instantiated.


ASGI_AMQP = {'INIT_FUNC': 'awx.prepare_env'}

ChannelGroup Model

This channel layer requires a database model called ChannelGroup. You can use the model and migation provided by adding asgi_amqp to your installed apps or you can point the ASGI_AMQP.MODEL setting to a model you have already defined.

Installed Apps:



    'MODEL': 'awx.main.models.channels.ChannelGroup',
File Type Py Version Uploaded on Size
asgi_amqp-1.1.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2018-02-28 7KB
asgi_amqp-1.1.1.tar.gz (md5) Source 2018-02-28 4KB