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.12k stars 99 forks source link

Bug: nats does not reconnect automatically when nats is unavailable #1538

Closed michaelmohamed closed 1 week ago

michaelmohamed commented 1 week ago

I am using nats in k8s, and if a nats pod goes down, then faststream hangs and doesent seem to reconnect

Is there a way to either exit, or continue to try to reconnect if nats server is unavailable?