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.18k stars 162 forks source link

Bug: with multiple handlers only the first is triggered #1901

Closed baterflyrity closed 2 weeks ago

baterflyrity commented 2 weeks ago

Describe the bug

Expected behavior

Observed behavior

Screenshots

image

Environment lol, ModuleNotFoundError: No module named 'typer'

Lancetnik commented 2 weeks ago

Sorry, but it doesn't work this way Using shared subscriber you overload it by filters - https://faststream.airt.ai/latest/getting-started/subscription/filtering/

baterflyrity commented 2 weeks ago

Thanks. This behavior definitely should be stated somewhere in features/tutorial.

Lancetnik commented 2 weeks ago

Thanks. This behavior definitely should be stated somewhere in features/tutorial.

I think "filtering" documentation page is enough, isn't it? I have no ideas about additinal places to show the hint Anyway, if know the correct place, feel free to make a PR - I'll be happy to merge documentation improvements