FastAPI and async generators in startup event

前端 未结 0 334
梦谈多话
梦谈多话 2021-01-27 03:16

I am running into a strange issue. I am using Aikafka to run a consumer which I start in the startup event. It looks like this:

async def consume():
    consumer          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题