DEV Community

Discussion on: Use cases for persistent logs with NATS Streaming

 
powerman profile image
Alex Efros • Edited

Team is aware about this. I agree intent is to support reconnects, but for now you have to implement it manually, and it's unclear when (if ever) this will be fixed in library. Main issue with reconnects is needs to re-subscribe, and how this should be done is depends on application, so it's not ease to provide some general way to restore subscriptions automatically - this is why it's not implemented yet and unlikely will be implemented soon.

Thread Thread
 
byronruth profile image
Byron Ruth

Good to know. Agreed, in the case of consumers how subscriptions need or should be re-established can vary based on the application.