We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package main import ( "fmt" flow "github.com/s8sg/goflow/flow/v1" goflow "github.com/s8sg/goflow/v1" ) // Workload function func doSomething(data []byte, option map[string][]string) ([]byte, error) { fmt.Printf("hello world\n") return []byte(fmt.Sprintf("you said \"%s\"", string(data))), nil } // Define provide definition of the workflow func DefineWorkflow(workflow *flow.Workflow, context *flow.Context) error { dag := workflow.Dag() dag.Node("test", doSomething) return nil } func main() { fs := &goflow.FlowService{ Port: 8080, RedisURL: "192.168.1.65:16379", // need redis password 123 OpenTraceUrl: "192.168.1.65:5775", WorkerConcurrency: 5, EnableMonitoring: true, } fs.Register("myflow", DefineWorkflow) fs.Start() }
The text was updated successfully, but these errors were encountered:
I think we should have a way to define the redistribution configuration. For now you can follow the go flow getting started instructions
Let me change the issue as an enhancement to support redis user/password
Sorry, something went wrong.
#59 Needs to be tested
Completed
No branches or pull requests
The text was updated successfully, but these errors were encountered: