milvus-logo
LFAI
Home
  • Administration Guide

natsmq-related Configurations

natsmq configuration.

more detail: https://docs.nats.io/running-a-nats-service/configuration

natsmq.server.port

Description Default Value
Listening port of the NATS server. 4222

natsmq.server.storeDir

Description Default Value
Directory to use for JetStream storage of nats /var/lib/milvus/nats

natsmq.server.maxFileStore

Description Default Value
Maximum size of the 'file' storage 17179869184

natsmq.server.maxPayload

Description Default Value
Maximum number of bytes in a message payload 8388608

natsmq.server.maxPending

Description Default Value
Maximum number of bytes buffered for a connection Applies to client connections 67108864

natsmq.server.initializeTimeout

Description Default Value
waiting for initialization of natsmq finished 4000

natsmq.server.monitor.trace

Description Default Value
If true enable protocol trace log messages false

natsmq.server.monitor.debug

Description Default Value
If true enable debug log messages false

natsmq.server.monitor.logTime

Description Default Value
If set to false, log without timestamps. true

natsmq.server.monitor.logFile

Description Default Value
Log file path relative to .. of milvus binary if use relative path /tmp/milvus/logs/nats.log

natsmq.server.monitor.logSizeLimit

Description Default Value
Size in bytes after the log file rolls over to a new one 536870912

natsmq.server.retention.maxAge

Description Default Value
Maximum age of any message in the P-channel 4320

natsmq.server.retention.maxBytes

Description Default Value
How many bytes the single P-channel may contain. Removing oldest messages if the P-channel exceeds this size

natsmq.server.retention.maxMsgs

Description Default Value
How many message the single P-channel may contain. Removing oldest messages if the P-channel exceeds this limit