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.52k stars 128 forks source link

Add support for other event based systems. #285

Closed johnhenning closed 1 year ago

johnhenning commented 1 year ago

It would be great if Kafka could be abstracted away so that other message brokers, pub-sub or event based systems could be used, ie

Having an interface that is AsyncAPI compliant could be a good starting point.

sternakt commented 1 year ago

Hi,

This is something we strive to, you can find the issue here: airtai/fastkafka#17

The first step is to abstract FastKafka so that underlying kafka back-ends can be interchangeable (at the moment we are using AIOKafka) and the issue has been opened here: airtai/fastkafka#30 . This is actually planned to be done in this sprint, so you should see some progress soon :) Next step is to abstract it so that it can be used with other message brokers such as rabbitmq, you can expect this to start after the first step is completed, probably in the next sprint (beginning of June).

sternakt commented 1 year ago

Closing this as it's a duplicate of airtai/fastkafka#17