← All repos

faststream

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

asyncapiasynciodistributed-systemsfaststreamkafkamqttmqtt-brokernatspythonrabbitmqredisstream-processing
Browse cluster: SQL databases and distributed systems
5,304stars
1,885commits
180contributors
3languages

Tech stack & purpose

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.

Community & reference links

Languages

Python
99.8%
Just
0.2%
Dockerfile
0.0%

Contributors (top 30 of 180)