- Notifications
You must be signed in to change notification settings - Fork0
This is a sample project for protoactor-go (go actor framework).
License
polarbit/protoactor-go-sample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
go run . worker -c 6331 -s 8080 -m 127.0.0.1:6331 -m 127.0.0.1:6332 -m 127.0.0.1:6333
go run . worker -c 6332 -s 8081 -m 127.0.0.1:6331 -m 127.0.0.1:6332 -m 127.0.0.1:6333
go run . worker -c 6333 -s 8082 -m 127.0.0.1:6331 -m 127.0.0.1:6332 -m 127.0.0.1:6333
go run . client
- At the moment,client only connects to "6331" worker host.
- If that host goes down, client starts to fail.
- In order to fix that, we need to provide all hosts to client cluster config. (From command arguments)
$ brew install protobuf$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1go install github.com/gogo/protobuf/protoc-gen-gofastgo install github.com/gogo/protobuf/protoc-gen-gogoslickgo install github.com/AsynkronIT/protoactor-go/protobuf/protoc-gen-gograinv2@dev
Also see .gitpod and .gitpod.Dockerfile
protoc --gogoslick_out=. ./messages/protos.proto
protoc --gograinv2_out=. ./messages/protos.proto
Below is not working yet:protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative protos.proto
- https://proto.actor/docs/clusterintro/
- https://proto.actor/docs/cluster-partitions/
- https://github.com/oklahomer/protoactor-go-sender-example
https://github.com/protocolbuffers/protobufhttps://github.com/protocolbuffers/protobuf-gohttps://grpc.io/docs/languages/go/quickstart/https://github.com/gogo/protobuf
About
This is a sample project for protoactor-go (go actor framework).
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.