eds-server

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 1 Imported by: 0

README

shopmonkey!

Overview

This repository contains the reference implementation of the Enterprise Data Streaming server.

Requirements

You will need Golang version 1.19 or later to use this package.

Basic Usage

You first need to migrate your database to load the schema into a database. The database must exist before running this command:

go run . migrate --driver postgres --dsn "host=localhost user=root dbname=test port=26257 sslmode=disable TimeZone=US/Central"

Replace the --dsn flag with your database connection setting. Replace the --driver flag with your database driver name.

Once you have a database, you can start the server:

go run . start --driver postgres --dsn "host=localhost user=root dbname=test port=26257 sslmode=disable TimeZone=US/Central"

Advanced Usage

Logging

You can turn on verbose logging with --verbose flag. You can silence log output with the --silence flag.

Dump Messages

When running the server, you can dump incoming change change events to a file by passing in the --dump-dir flag pointing to a folder to place the files. If the folder doesn't exist, it will be created.

NATS Logging

You can turn on advanced trace logging for communication between the NATS server by using the flag --trace-nats.

License

All files in this repository are licensed under the MIT license. See the LICENSE file for details.

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