Skip to main content

RabbitMQ broker for taskiq

Project description

AioPika broker for taskiq

This lirary provides you with aio-pika broker for taskiq.

Usage:

from taskiq_aio_pika import AioPikaBroker

broker = AioPikaBroker()

@broker.task
async def test() -> None:
    print("nothing")

Configuration

AioPikaBroker parameters:

  • url - url to rabbitmq. If None, "amqp://guest:guest@localhost:5672" is used.
  • result_backend - custom result backend.
  • task_id_generator - custom task_id genertaor.
  • exchange_name - name of exchange that used to send messages.
  • exchange_type - type of the exchange. Used only if declare_exchange is True.
  • queue_name - queue that used to get incoming messages.
  • routing_key - that used to bind that queue to the exchange.
  • declare_exchange - whether you want to declare new exchange if it doesn't exist.
  • qos - number of messages that worker can prefetch.
  • max_connection_pool_size - maximum number of connections in pool.
  • max_channel_pool_size - maximum number of channels for each connection.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskiq-aio-pika-0.0.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

taskiq_aio_pika-0.0.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file taskiq-aio-pika-0.0.4.tar.gz.

File metadata

  • Download URL: taskiq-aio-pika-0.0.4.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for taskiq-aio-pika-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ac3751fb1ab1f30f35e4211a6361b6bb2d9158b7347caf580504dfdfdb4279cf
MD5 9388cea786dd83c310a87e42dc0c28e0
BLAKE2b-256 10130abf7a5bc4c8962fb2c98c94c56bb0d03a5cbd29c20f84f7c7c42e66cc73

See more details on using hashes here.

File details

Details for the file taskiq_aio_pika-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: taskiq_aio_pika-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for taskiq_aio_pika-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4960307666531f6f987136489881475f6e735000f681b505d16ae5929f381024
MD5 4b2b42ff816abf1ad1d6db76febe11ab
BLAKE2b-256 269a15af703e51ffc3e6ad1b12d2a137b3693f1e06ee7475c1102ad47a415004

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page