Ryan Navaroli
10/18/2022, 7:14 PMasyncio
for everything, but dagster seems to lack support for asyncio
with `@sensor`s. So basically calling any nats function (like creating a connection) requires an await
keyword, which can only be used within an async def
function. But dagster sensor needs to be set up as a synchronous def
function, which makes it very difficult to integrate with the nats sdk.
Any suggestions on how have an async @sensor
or how to work around?Adam Bloom
10/18/2022, 7:29 PMRyan Navaroli
10/18/2022, 7:43 PM