A simple event queue powered by Go concurrency patterns and gRPC.
Server:
go install github.com/gaarutyunov/gueue/cmd/gueue
Client package:
go get github.com/gaarutyunov/gueue/pkg/client
An example configuration file for gueue
server:
server:
host: localhost
port: 8001
topics:
- name: test.topic.1
buffer: 1000
- name: test.topic.2
buffer: 1000
Start server with:
gueue server -c gueue.yaml
For an example of client package usage see examples
folder.
Start with a simple example in examples/simple/consumer/main.go
and examples/simple/producer/main.go
.
- Build server
make build
- Lint
make setup lint
- Format
make fmt
- Build
simple
example
make example name=simple