NATS Extension Configuration

Introduction

The Infinite Scale NATS extension provides …​

Extensions are under development because of the beta badge 1 stage of Infinite Scale. Their service, environment variables and configuration may change. Forgive us if there are mistakes or information is missing. Feel free to report issues and we’ll take care of them as soon as possible on github. You want to fix them yourself? We’d appreciate that even more.

Configuration

Environment Variables

The nats extension is configured via the following environment variables:

Environment variables for the nats extension
Name Type Default Value Description

OCIS_LOG_LEVEL
NATS_LOG_LEVEL

string

OCIS_LOG_PRETTY
NATS_LOG_PRETTY

bool

false

OCIS_LOG_COLOR
NATS_LOG_COLOR

bool

false

OCIS_LOG_FILE
NATS_LOG_FILE

string

NATS_DEBUG_ADDR

string

NATS_DEBUG_TOKEN

string

NATS_DEBUG_PPROF

bool

false

NATS_DEBUG_ZPAGES

bool

false

NATS_NATS_HOST

string

127.0.0.1

NATS_NATS_PORT

int

9233

NATS_NATS_CLUSTER_ID

string

ocis-cluster

NATS_NATS_STORE_DIR

string

~/.ocis/nats

Since Version: + added, - deprecated

YAML Example

# Autogenerated
# Filename: nats-config-example.yaml

log:
  level: ""
  pretty: false
  color: false
  file: ""
debug:
  addr: ""
  token: ""
  pprof: false
  zpages: false
nats:
  host: 127.0.0.1
  port: 9233
  clusterid: ocis-cluster
  store_dir: ~/.ocis/nats