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
3.15k stars 161 forks source link

How to make broker subscribers visible to the app? #1914

Closed silent-vim closed 1 week ago

silent-vim commented 1 week ago

Hi, I am trying our faststream and breaking down the subscribers in different modules. Without importing it in the runner app file the broker subscribers are not visible and do not receive the messages.

Is there a way to make them visible ?

silent-vim commented 1 week ago

Used router to resolve this, but might be good to have an example.