slait

command module
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

Slait

Build Status

Slait is a simple buffered message queue and delivers messages at least once.

Data Model

Slait aims to solve specific problems around shared time oriented data and made some design decisions for this purpose.

  • All data consists of topics. A topic is a category of the same data flow.
  • A topic consists of partitions. A partition within a topic is a single time-ordered stream.
  • A partition name is a string unlike Kafka and partition allocation is dynamic.
  • Clients can request the latest messages through the REST API as well as subscribe to the updates through the Websocket interface.
  • Data is persisted on disk and stays in memory for fast access. The server restart will not cause any data loss.
  • Data is retained for up to 5 days by default. The custom retention policy will come in the future.
  • Most topic and partition operations can be done through the REST API online.
  • For more details on the persistency layer, see commitlog/doc.go

Configuration

The configuration parameters are as follows in the YAML format and you can pass it via -config option to the command line.

  • ListenPort: the port number string. It will bind to all the available interfaces on this port.
  • LogLevel: one of the ERROR, WARNING, or INFO
  • DataDir: the root base directory to put the persistent data.

API specification

See documentation/rest.md

Build

Slait requires Go 1.9+.

make configure is needed to download all the dependencies. make all will build the binary and install from ./cmd directory to $GOPATH/bin.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
* Package commitlog implements the append-only on-disk persistency layey.
* Package commitlog implements the append-only on-disk persistency layey.
log

Jump to

Keyboard shortcuts

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