liftbridge-io / go-liftbridge

Go client for Liftbridge. https://github.com/liftbridge-io/liftbridge
Apache License 2.0
66 stars 18 forks source link

Make subscribe more resilient #117

Closed tylertreat closed 2 years ago

tylertreat commented 2 years ago

If the subscribe streaming RPC recv fails due to a disconnect error even after the initial subscribe RPC succeeds, retry the RPC sequence. This makes subscribe more resilient to transient connection issues.