``` # Generate gRPC code go get -u github.com/golang/protobuf/proto protoc --go_out=plugins=grpc:. pb/*.proto # Run services $ docker-compose up ```
| Name | Default value |
|---|---|
| GRPC_ENABLE | true |
| GRPC_PORT | “50051” |
| REDIS_ENABLE | true |
| MONGO_ENABLE | true |
| AMQP_ENABLE | true |
| AMQP_API | amqp://telemetry:telemetry@localhost:5672/ |
| AMQP_NAME_QUEUE | go-logger-packets |
| AMQP_EXCHANGE_LIST | “demo1, demo2” |
| AMQP_EXCHANGE_TYPE | “headers” |
| DB_ID | “_oid” |
| PROMETHEUS_ENABLED | “true” |
| OPENTRACING_ENABLED | “true” |
| JAEGER_SERVICE_NAME | go-logger |
| JAEGER_AGENT_HOST_PORT | “localhost:5778” |
| JAEGER_RPC_METRICS | “true” |
Support:
</p> </details>
This project support GitLab CI
| Name | Description | |-----------------------|--------------------------------------------| | DOCKER_PASS | -- | | DOCKER_USER | -- | | GITHUB_PASSWORD | -- | | GITHUB_REPOSITORY_URL | -- | | GITHUB_USER | -- | | HELM_CONTEXT | -- | | PROJECT_NAMESPACE | -- |
##### Run bot Run `go run /tests/bot/bot.go` ##### Read from AMQP queue (1M message/1 instance) 