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
Hi, I see that in this example only a faust worker in client mode is started in the fast-api app.
Would it be possible to have a full faust worker running inside the fast-api app?
I tried changing your code by doing: asyncio.create_task(faust_app.main()) instead of asyncio.create_task(faust_app.start_client()) in api.py.
Doing that I get an error related to the event loop: RuntimeError: this event loop is already running.
Digged online but wasn't able to find much. Have you met this usecase before?
The text was updated successfully, but these errors were encountered:
Hi, I see that in this example only a faust worker in client mode is started in the fast-api app.
Would it be possible to have a full faust worker running inside the fast-api app?
I tried changing your code by doing:
asyncio.create_task(faust_app.main())
instead ofasyncio.create_task(faust_app.start_client())
inapi.py
.Doing that I get an error related to the event loop:
RuntimeError: this event loop is already running.
Digged online but wasn't able to find much. Have you met this usecase before?
The text was updated successfully, but these errors were encountered: