📦 Installation
Dispytch is backend-agnostic by default. This means it won't install Kafka or RabbitMQ dependencies unless explicitly requested.
Install with uv or pip, including extras for your preferred message broker:
With Kafka support
1 2 3 | |
Includes: aiokafka
With RabbitMQ support
1 2 3 | |
Includes: aio-pika
⚠️ No Backend by Default
If you install Dispytch without any extras:
1 2 3 | |
then no producer or consumer backends will be available. You'll need to install at least one extra ([kafka] or
[rabbitmq]) or install the dependencies separately to use built-in event producers and consumers.
🔧 Custom Backends
If you're building your own backend implementation (e.g., for Redis, NATS, SQS, etc.), installing Dispytch without extras is exactly what you want.