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
I have included information about relevant versions
I have verified that the issue persists when using the master branch of Faust.
Steps to reproduce
I have the same single module app that works correctly with the robinhood version of faust, but does not work with this fork. Namely, the exception quoted in the title on_rebalance() takes 5 positional arguments but 6 were given is thrown on app startup in when faust-streaming but not faust. relevant versions used are 0.4.8 466dbf2 (git master at time of writing) and 1.10.4. The single module app, and exception are as follows:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/faust/app/base.py", line 1720, in _on_partitions_assignedawait T(self.tables.on_rebalance)(
File "/usr/local/lib/python3.9/site-packages/faust/utils/tracing.py", line 133, in corowrapped
await_ret =await ret
File "/usr/local/lib/python3.9/site-packages/faust/tables/manager.py", line 194, in on_rebalanceawait T(table.on_rebalance)(
File "/usr/local/lib/python3.9/site-packages/faust/utils/tracing.py", line 133, in corowrapped
await_ret =await ret
File "/usr/local/lib/python3.9/site-packages/faust/tables/base.py", line 571, in on_rebalanceawaitself.data.on_rebalance(
TypeError: on_rebalance() takes 5 positional arguments but 6 were given
The text was updated successfully, but these errors were encountered:
alxdb
changed the title
Unexpected Exception: on_rebalance() takes 5 positional arguments but 6 were given
Exception thrown on faust-streaming/faust but not on robinhood/faust
Feb 14, 2021
I have double checked, at first i thought it might be due to using multiple brokers, but that appears not to be the case. I've created a repo that should be able to recreate the issue: faust-demo/faust-streaming. if you have docker/docker-compose installed could you try it out and see if it reproduces the issue?
Checklist
master
branch of Faust.Steps to reproduce
I have the same single module app that works correctly with the robinhood version of faust, but does not work with this fork. Namely, the exception quoted in the title
on_rebalance() takes 5 positional arguments but 6 were given
is thrown on app startup in whenfaust-streaming
but notfaust
. relevant versions used are0.4.8 466dbf2
(git master at time of writing) and1.10.4
. The single module app, and exception are as follows:Expected behavior
Exception is not thrown
Actual behavior
Exception is thrown
Full traceback
Versions
The text was updated successfully, but these errors were encountered: