airbytehq / PyAirbyte

PyAirbyte brings the power of Airbyte to every Python developer.
https://docs.airbyte.com/pyairbyte
Other
229 stars 40 forks source link

Bug: Consecutive `read()` operations returns previously stored cache when it's not supposed to #138

Open niyasrad opened 7 months ago

niyasrad commented 7 months ago

Context

https://airbytehq.slack.com/archives/C06FZ238P8W/p1710320283398979

This problem was discovered as a doubt originally for attaining NRT streaming in Amazon SQS using a custom .py script, which uses PyAirbyte to call the read() in a loop.

Description

Workarounds

I'm willing to contribute further to this issue, and you could assign me for doing any changes.

aaronsteers commented 7 months ago

I've not yet been able to locate the source of the issue. WIP PR expands the tests, here: