Skip to main content

Kafka broker for taskiq

Project description

AioKafka broker for taskiq

This lirary provides you with aiokafka broker for taskiq.

Usage:

from taskiq_aio_kafka import AioKafkaBroker

broker = AioKafkaBroker(bootstrap_servers="localhost")

@broker.task
async def test() -> None:
    print("The best task ever!")

Configuration

AioKafkaBroker parameters:

  • bootstrap_servers - url to kafka nodes. Can be either string or list of strings.
  • kafka_topic - custom topic in kafka.
  • result_backend - custom result backend.
  • task_id_generator - custom task_id genertaor.
  • aiokafka_producer - custom aiokafka producer.
  • aiokafka_consumer - custom aiokafka consumer.
  • kafka_admin_client - custom kafka admin client.
  • delete_topic_on_shutdown - flag to delete topic on broker shutdown.

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_kafka-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taskiq_aio_kafka-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file taskiq_aio_kafka-0.1.0.tar.gz.

File metadata

  • Download URL: taskiq_aio_kafka-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1035-azure

File hashes

Hashes for taskiq_aio_kafka-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce68eaf3a61b1583ff89fcc24a2e850462041cf8f9f93e8845cfd41c7c1c62b4
MD5 f2c9487d3a3d570b139428b41069f17a
BLAKE2b-256 0ebab735724c02b91eec8eb235386c33b700479d61eeabf89a377ab248585298

See more details on using hashes here.

File details

Details for the file taskiq_aio_kafka-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: taskiq_aio_kafka-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1035-azure

File hashes

Hashes for taskiq_aio_kafka-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b360319698019579a4ae31c211d3c57ff67e379e67e255f1ba837a8a1bc0136
MD5 a971dd3ee2448e00a075476d043b23bd
BLAKE2b-256 d5090c16036a98ab5b7921dc9becca5f4289114ea228955813d62bc339ac1264

See more details on using hashes here.

Supported by

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