cfg

package
v0.6.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cleanup = flag.Bool("cleanup", false, "Only cleanup marmot triggers and changelogs")
View Source
var DBPathString = flag.String("db-path", "/tmp/marmot.db", "Path to SQLite database")
View Source
var EnableCompress = flag.Bool("compress", false, "Enable message compression")
View Source
var LogReplicas = flag.Int("log-replicas", 1, "Number of copies to be committed for single change log")
View Source
var MaxLogEntries = flag.Int64("max-log-entries", 1024, "Maximum number of change log entries to persist")
View Source
var NatsAddr = flag.String("nats-url", nats.DefaultURL, "NATS server URL")
View Source
var NodeID = flag.Uint64("node-id", rand.Uint64(), "Node ID")
View Source
var RestoreSnapshot = flag.Bool("restore-snapshot", true, "Restore snapshot at boot")
View Source
var SaveSnapshot = flag.Bool("save-snapshot", false, "Only take snapshot and upload")
View Source
var Shards = flag.Uint64("shards", 8, "Number of stream shards to distribute change log on")
View Source
var StreamPrefix = flag.String("stream-prefix", "marmot-changes", "Prefix for publish subjects")
View Source
var SubjectPrefix = flag.String("subject-prefix", "marmot-change-log", "Prefix for publish subjects")
View Source
var Verbose = flag.Bool("verbose", false, "Log debug level")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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