Implementation for #125 for consideration/discussion.
CI will fail but I can add a mock for DescribeStreamSummaryWithContext if you think this is worthy of merging.
This also adds an extra ticker fastTicker which is based on the 5TPS rate limit, and which is used for those cases where we want a fast return back to Kinesis. I can amend #122 to use this as well, if/when the time comes. Alternatively, to squeeze more throughput, we could use the behavior from #122 (continue immediately) and only start backing off if we hit ErrCodeProvisionedThroughputExceededException.
Implementation for #125 for consideration/discussion.
CI will fail but I can add a mock for
DescribeStreamSummaryWithContext
if you think this is worthy of merging.This also adds an extra ticker
fastTicker
which is based on the 5TPS rate limit, and which is used for those cases where we want a fast return back to Kinesis. I can amend #122 to use this as well, if/when the time comes. Alternatively, to squeeze more throughput, we could use the behavior from #122 (continue immediately) and only start backing off if we hitErrCodeProvisionedThroughputExceededException
.