scopely / kinesis-vcr

Record, rewind and replay live Kinesis streams
Apache License 2.0
58 stars 3 forks source link

Fix retry on replay #30

Closed avram closed 9 years ago

avram commented 9 years ago

The Rx version of playback was resubscribing to the observable of S3 objects, triggering a new listing of the bucket. This was obviously bad and seemed to make it very difficult for playback to succeed.

This PR moves the retry into code actually doing the listing, using the exponential backoff runner.

avram commented 9 years ago

I just did a substantial playback without any of the replay issues we had before. This does the trick!