📦 Installation¶
Dispytch is backend-agnostic by default. This means it won't install Kafka or RabbitMQ dependencies unless explicitly requested.
Install with uv
, poetry
or pip
, including extras for your preferred message broker:
With Kafka support¶
1 2 3 4 5 |
|
Includes: aiokafka
With RabbitMQ support¶
1 2 3 4 5 |
|
Includes: aio-pika
With Redis support¶
1 2 3 4 5 |
|
Includes: redis
⚠️ No Backend by Default¶
If you install Dispytch without any extras:
1 2 3 4 5 |
|
then no producer or consumer backends will be available. You'll need to install at least one extra 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.