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.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

taskiq_aio_pika-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for taskiq-aio-pika-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8bc0d70de6798d4288b0d6767088ea0cc5273cc18ad1f6ebd5eb9f76eba93a20
MD5 2aa8e5501adf80b0e98e4609773f8d75
BLAKE2b-256 89635f43e6b9e540539b46d80d314c3cffa144bee73353a966d7f8816f62a27b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for taskiq_aio_pika-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f559f9f20a92c2331322f9edfebe1f836c173cdc3eefacbaf572be5895e9f30a
MD5 b72f80b3fe4de9e85cc868c568de51fc
BLAKE2b-256 867f64a666fc44dbaa9b878aba0186f25c0183c844403d38384a61dc88bcc0b9

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