FastStream is an asynchronous Python framework for building event-driven applications. It brings together message broker integration, dependency injection, validation, testing utilities, and AsyncAPI documentation generation in a single toolkit
FastStream is an asynchronous Python framework for building event-driven applications that integrates message broker support, dependency injection, validation, testing utilities, and AsyncAPI documentation generation. The framework supports multiple message brokers including Kafka, RabbitMQ, NATS, Redis, and MQTT, allowing developers to write streaming microservices with a unified API while still accessing broker-specific features when needed. Built on experiences from the earlier FastKafka and Propan projects, FastStream leverages Pydantic or Msgspec for message serialization and validation, provides a pytest-like dependency injection system, and includes in-memory testing capabilities to support faster CI/CD pipelines.