recorder

command
v0.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Recorder Service

Recorder service saves TransactionEvents to configured go-micro store. Transactions are published by other micro services i.e., account, emailer, greeter

Usage

Run the service

(optional) set broker to googlepubsub

export MICRO_BROKER=googlepubsub
export GOOGLEPUBSUB_PROJECT_ID=<my-project-id>
export GOOGLE_APPLICATION_CREDENTIALS=<path_to.json>
make run-recorder
make run-recorder ARGS="--server_address=:8083"

Test the service

micro call mkit.service.recorder Transaction.Read  '{"key": "0edc8bb2-33e0-4766-bc13-e62a346465be#accountsrv"}'
# micro publish mkit.service.recorder '{ "Header" : { "a": "aa", "b": "bb" }, "Body" : {"c": "cc"} }'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL