Open cmartmos opened 1 year ago
This is not that easy as we do run all the components as mode.Service instances. The first line in __init__
does exactly this, and the aiohttp.Application kwargs wouldn't be allowed in mode.Service.
What we could do though is to allow web_driver_args params in creation that could then be thrown into this.
Checklist
master
branch of Faust.Steps to reproduce
I am required to pass some parameters to the aiohttp application directly (e.g. middleware, client_max_size, ...) to extend the worker API. However, it's not possible in the actual implementation of the aiohttp driver.
Could you please extend the setting or the aiohttp driver to overcome this limitation?
Expected behavior
Support for web server parameters
Actual behavior
Not supported
Full traceback
Versions