Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cleanup = flag.Bool("cleanup", false, "Cleanup all trigger hooks for marmot")
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 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.
Click to show internal directories.
Click to hide internal directories.