ConduitIO / conduit

Conduit streams data between data stores. Kafka Connect replacement. No JVM required.
https://conduit.io
Apache License 2.0
363 stars 42 forks source link

Feature: WASI Preview 2 Support #1646

Open nickchomey opened 3 weeks ago

nickchomey commented 3 weeks ago

Feature description

As best as I can tell, WASI Preview 2 is now the official version of WASI, while Preview 1 was moved to the legacy directory in their repo.

They marked the first official release (0.2.0) of WASI on April 24, 2024, which corresponds with Preview 2.

It has APIs defined for HTTP, filesystem and more - which would be very useful in general, and for a Benthos processor in particular (which we discussed here).

So, it would be great if Conduit Processor SDK could move to support the Preview 2 APIs.

hariso commented 3 weeks ago

Thanks for the issue @nickchomey ! It seems to me that we need to wait for the support in Go first: https://github.com/golang/go/issues/65333.

nickchomey commented 3 weeks ago

Ah, I wasn't aware. Well, at least this issue can serve as a reminder/tracker for progress there.

hariso commented 3 weeks ago

Yup, definitely good to have a tracker issue!

lovromazgon commented 2 weeks ago

I moved this issue to the main Conduit repo, as the WASI Preview 2 support needs to be added on the host (i.e. Conduit).