Hacker News new | ask | show | jobs
New FOSS Python Framework for Writting Apache Kafka and RabbitMQ Services (github.com)
11 points by davorrunje 998 days ago
2 comments

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?
Thanx :)

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 :)

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)

- 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...