FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.
Here's a look at the core features that make FastStream a go-to framework for modern, data-centric microservices:
- Multiple Brokers: FastStream provides a unified API to work across multiple message brokers (Kafka, RabbitMQ support)
- Pydantic Validation: Leverage Pydantic's validation capabilities to serialize and validates incoming messages
- Automatic Docs: Stay ahead with automatic AsyncAPI documentation
- Intuitive: Full-typed editor support makes your development experience smooth, catching errors before they reach runtime
- Powerful Dependency Injection System: Manage your service dependencies efficiently with FastStream's built-in DI system
- Testable: Supports in-memory tests, making your CI/CD pipeline faster and more reliable
- Extendable: Use extensions for lifespans, custom serialization and middlewares
- Integrations: FastStream is fully compatible with any HTTP framework you want (FastAPI especially)
This project dropped at the perfect time for what I'm building at work. Simplifies so much of what we were trying to home roll on our own. A side note: it's interesting that they're utilizing ChatGPT to provide a code generator. As someone who's spent years writing Ruby on Rails apps, this reminds me a lot of its scaffold generators. I wonder if this will be come the new norm with OSS projects moving forward?
We are working a lot on improving productivity of a developer. The current code generator is just a start and we have a ton of new stuff in development. And yes, for someone who had spend years writing RoR apps such as myself, the inspiration for much of this is quite clear :)
4 comments
[ 0.26 ms ] story [ 17.4 ms ] threadHere's a look at the core features that make FastStream a go-to framework for modern, data-centric microservices:
- Multiple Brokers: FastStream provides a unified API to work across multiple message brokers (Kafka, RabbitMQ support)
- Pydantic Validation: Leverage Pydantic's validation capabilities to serialize and validates incoming messages
- Automatic Docs: Stay ahead with automatic AsyncAPI documentation
- Intuitive: Full-typed editor support makes your development experience smooth, catching errors before they reach runtime
- Powerful Dependency Injection System: Manage your service dependencies efficiently with FastStream's built-in DI system
- Testable: Supports in-memory tests, making your CI/CD pipeline faster and more reliable
- Extendable: Use extensions for lifespans, custom serialization and middlewares
- Integrations: FastStream is fully compatible with any HTTP framework you want (FastAPI especially)
- Built for Automatic Code Generation: FastStream is optimized for automatic code generation using advanced models like GPT and Llama. Please check out the tutorial available here: https://faststream-gen.airt.ai/Tutorial/Cryptocurrency_Tutor...
We are working a lot on improving productivity of a developer. The current code generator is just a start and we have a ton of new stuff in development. And yes, for someone who had spend years writing RoR apps such as myself, the inspiration for much of this is quite clear :)