Skip to content

Commit

Permalink
Adding config file options
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpert committed Jul 3, 2023
1 parent e5dd2e9 commit 35e1373
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ compress=true
# in embedded NATS server being started with node named `marmot-node-{node_id}`.
# NATS configuration can provided via `server_config` variable
urls=[
"nats://localhost:4222"
# "nats://localhost:4222"
# "nats://<user>:<password>@<host>:<port>"
]
# Embedded server config file
# Embedded server config file (will be only used if URLs array is empty)
server_config=""
# Subject prefix used when publishing log entries, it's usually suffixed by shard number
# to get the full subject name
Expand All @@ -115,7 +116,9 @@ stream_prefix="marmot-changes"
# Set to user.seed
# Reference https://docs.nats.io/running-a-nats-service/nats_admin/security/jwt#what-are-nkeys
seed_file=""

# User credentials used for plain user password authentication
user_name=""
user_password=""

# Console STDOUT configurations
[logging]
Expand Down

0 comments on commit 35e1373

Please sign in to comment.