asgi_amqp
An ASGI channel layer that uses AMQP as its backing store with group support.
Settings
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.
Usage:
ASGI_AMQP = {'MODEL': 'awx.main.models.channels.ChannelGroup'}
INIT_FUNC A function that you want run when the channel layer is first instantiated.
Usage:
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:
INSTALLED_APPS = [
...
'asgi_amqp',
...
]
Settings:
ASGI_AMQP = {
'MODEL': 'awx.main.models.channels.ChannelGroup',
}
Release files for asgi_amqp 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asgi_amqp-1.1.4.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asgi_amqp-1.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / asgi_amqp-1.1.4.tar.gz
| Download URL | asgi_amqp-1.1.4.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
835f8e818f5cbe289938bc54202abcaf330ac4f14357c29a63758d22819bc458
|
|
BLAKE2b-256 checksum How to use checksums |
2581ba8479246f9aa238f9b8d7b525497e132f2294608f675d251f905ed11edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / asgi_amqp-1.1.4-py2.py3-none-any.whl
| Download URL | asgi_amqp-1.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5475b803974339f49106c5023e880efaf1ee60d807353e0c269e9ba8cddeb6c0
|
|
BLAKE2b-256 checksum How to use checksums |
5a7ac39dbe7bc82f60f7b78edd935f607d404b23571437a62d93ff98da59c3e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|