liftbridge-io / go-liftbridge

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

Do not loose partition subscription while reconnecting #110

Closed stephane-moreau closed 3 years ago

stephane-moreau commented 3 years ago

When a conection loss occurs between Liftbridge servers and a subscriber, the reconnection process did potentially loose 1 message in case error occurs before first message but worse in case of partition subscription it automaically reconnects to partition 0

For a potential message loss : #51 A resubscribption bug was found here: #69

tylertreat commented 3 years ago

Thanks!