I have a platform where I want to launch as a separate thread a Faust consumer. Anyway, from the documentation I always find asynchronous implementation where the consumer is running on a process, but there is no mention about a solution for multithreading. So, when I define my Faust app, and then use annotation with
@app.agent(topic)
I get the following error
@app.agent(topic)
NameError: name 'topic' is not defined
Could someone guide me in this? I am not an expert on asynchio library.