Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dapr workfloes in golang #2

Closed
gedw99 opened this issue May 30, 2023 · 5 comments
Closed

Dapr workfloes in golang #2

gedw99 opened this issue May 30, 2023 · 5 comments

Comments

@gedw99
Copy link

gedw99 commented May 30, 2023

Hey @marcduiker

aeens dapr only currently has workflows in .net . Just checked their docs :)

am investigating a golang one

Please contact me if you want to chat about this

@marcduiker
Copy link
Contributor

Hi @gedw99, the workflow engine is written in Go and is part of the Dapr runtime. At the moment there is indeed a .NET library for authoring workflows. The Python SDK will follow soon. If you're interested in helping out with the Go SDK, that would be great!

@gedw99
Copy link
Author

gedw99 commented May 30, 2023

Hey @marcduiker

thanks for quickly response.

i saw the temporal code in dapr contrib repo. Is that the basis / core inside DAPR?

https://github.com/dapr/components-contrib/tree/master/workflows/temporal

Temporal is pretty nice design and has hydration for retries / async fun and game race conditions. Its storage layer can use simple stuff like SQLite . Could easily use kine and other things that give HA aspects.

https://github.com/k3s-io/kine

it’s just etcd server and so has multi versioning of namespaces values. Seems a pretty good match for Dapr state store / registry thingy.

the go sdk your referring to is a layer on top of this base ?

I saw the temporal team talking / playing with meta description / dsl for Workflows. That going into DAPR ? Maybe you know where it’s at …

Anyways just let me know so I can know where to put my energies :)

@marcduiker
Copy link
Contributor

The Dapr Workflow engine uses Durable Task Framework, more info, including inspiration :) here: https://github.com/microsoft/durabletask-go.

The concept of Dapr is to have a uniform API (the building blocks) and flexibility in the underlying resources (components). Dapr Workflow is the first workflow component the API can use. Temporal is another workflow engine Dapr wants to support soon. Dapr Workflow also supports various storage providers (any of the state store components that also support Actors).

Have you joined the Dapr Discord, http://bit.ly/dapr-discord ? All the maintainers are there as well, and the #discussions forum there is a good place to talk about new features/components.

@gedw99
Copy link
Author

gedw99 commented May 30, 2023

Thanks - ok discord it is. Will go there now . Might see you there :)

I sent you an email to discuss other control plane / reconciliation things. Hope you don’t mind.

@ArunNKutty
Copy link

Are we planning to have workflows in go as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants