broker

package module
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 0 Imported by: 0

README

Ticker Broker

Implements an EventStream broker with multiple backends for storing Events and Subscriptions.

Usage

Full help available with

ticker-broker help

Start a broker with postgres backend for storing Events but using redis for storing subscriptions:

ticker-broker server --event-store postgres --evt-postgres-url=<PG_URL> --sequence-store redis --seq-redis-url=<REDIS_URL>

Development

Generate Certificates

Create CA for signing server and client certificates:

certstrap --depot-path . init --passphrase '' --cn 'ca'

Create and sign certificate for server

certstrap --depot-path . request-cert --passphrase '' --domain 'localhost' --cn 'broker' certstrap --depot-path . sign --passphrase '' --CA 'ca' broker

Create and sign client certificate

certstrap --depot-path . request-cert --passphrase '' --ip '127.0.0.1' --cn 'client-1' certstrap --depot-path . sign --passphrase '' --CA 'ca' client-1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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