You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _add_gap function in faust/transport/consumer.py is being called with a VERY large offset_from / offset_to delta. In the screenshot below a list is populated from 1 to 2,288,752,002 which results in python running out of memory and triggering the failure. Note that in the screenshot I added an exception handler to see if I could trap the error (I could not - python fails silently).
PyCharm debugger output
Resource Monitor: Memory Usage
PyCharm debugger: Values passed to _add_gap
Versions
Python version 3.7.4
Faust version 1.8.1
Kafka version 2.3
The text was updated successfully, but these errors were encountered:
I have observed faust intermittently failing silently on startup with the 1.8.x series and have been able to trace it back to PR #403, commit c0daac1.
Note: special thanks to @patkivikram for helping me track this down...
Faust failing silently on startup
The
_add_gap
function infaust/transport/consumer.py
is being called with a VERY largeoffset_from
/offset_to
delta. In the screenshot below a list is populated from1
to2,288,752,002
which results in python running out of memory and triggering the failure. Note that in the screenshot I added an exception handler to see if I could trap the error (I could not - python fails silently).PyCharm debugger output
Resource Monitor: Memory Usage
PyCharm debugger: Values passed to _add_gap
Versions
The text was updated successfully, but these errors were encountered: