airtai / faststream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
https://faststream.airt.ai/latest/
Apache License 2.0
2.53k stars 128 forks source link

🌟 Roadmap 🌟 #1510

Open Lancetnik opened 4 months ago

Lancetnik commented 4 months ago

Roadmap

We know that some users are waiting for new broker support (like SQS/MQTT/etc.), but please be patient a bit longer.

Due to the inner project structure becoming much harder to change with each new broker, we are now focusing on stabilizing the inner and outer API. Then we will be able to promote new broker support in an easier way (like we used to do before).

Road to 1.0.0

Polish Current Features

First of all, we should polish already existing brokers and core features:

Inner Structure Refactoring

The next step is making Context non-global: we should pass it throughout the whole application from FastStream object -> Broker -> Subscriber -> Call. This step is also related to FastDepends 3.0 migration, and we can refactor dependency_overrides as well, and finally make Pydantic replaceable in serialization cases.

New in Testing

We plan to refactor the In-Memory TestClient to make it side-effect-less (currently, it has some problems with reusing).

New Brokers Support

Finally, we can take a break from refactoring and add new broker support:

1.0.0 Finalization

At the end of the year (hopefully), we plan to release the first major version - 1.0.0

Community

Additionally, we are planning to start our Experts activity and provide users with a roadmap to study FastStream, a form to approve your expertise, and a public page with all approved experts to encourage people to help each other (and boost their resumes with the FastStream expert mark).

AsyncAPI

Last but not least, we should migrate to the new major AsyncAPI version

1.0.0 +

We are not looking too far ahead, but we have few thoughts:

Eventhough brokers are good, brokerless is much better, so ZMQ support looks promising to us

And the last thing - we want to provide you with some persistence layer (like Faust table or smth) to allow windowing incoming messages stream.

P.S. This plan is still pretty raw, and we can swap any of these points, but this is the general direction.

r0kk commented 1 month ago

Hi thank you for sharing the roadmap, I would like to point out that community can already use MQTT protocol since RabbitMQ broker supports MQTT protocol via plugin. This means that FastStream can be used for with MQTT protocol. Maybe tutorial or announcement could inform community about this option.

Thank you for all contributions.

Lancetnik commented 1 month ago

@r0kk thank you for your kind words! But I am not sure, that plugin is full-MQTT compatible. Is it suitable for all MQTT cases? Did you test FastStream with it? Anyway, we plan to implement MQTT support right after 0.6.0 release (it should be in a few months), it's not too long to wait