##
##  liftbridge.conf -- Liftbridge server configuration
##

listen:                  127.0.0.1:9292

nats {
    servers:             [ "nats://127.0.0.1:4300" ]
}

tls.cert:                "@l_prefix@/etc/nats-server/server.crt"
tls.key:                 "@l_prefix@/etc/nats-server/server.key"

data.dir:                "@l_prefix@/var/liftbridge/db"

log.level:               debug

log {
    segment.max.bytes:   1000000
    retention.max.bytes: 100000000000
}

clustering {
    server.id:            node1
    namespace:            example
    raft.logging:         true
    raft.bootstrap.seed:  true
    replica.max.lag.time: "20s"
}

#authorization {
#    users = [
#        { user: alice, password: example }
#        { user: bob,   password: example }
#    ]
#}

