The SWC-DB Broker Filesystem - Configuration Properties
The SWC-DB Broker Filesystem Library can be configured with these configuration properties.
-
swc.fs.broker.cfg.dyn
TYPE_STRINGSThe Dynamic cfg-file to use. Config Handler will check & reload this cfg-file by swc.cfg.dyn.period
defaultswc.fs.broker.cfg.dyn= -
swc.fs.broker.host
TYPE_STRINGThe FsBroker host (default by hostname resolution).
defaultswc.fs.broker.host= -
swc.fs.broker.port
TYPE_UINT16The FsBroker port.
defaultswc.fs.broker.port=14000 -
swc.fs.broker.concurrency.relative
TYPE_BOOLWhether HW-Concurrency base is used with the Applicable cfg properties.
defaultswc.fs.broker.concurrency.relative=true -
swc.fs.broker.handlers
TYPE_INT32Number or HW-Concurrency base of Handlers for broker tasks.
defaultswc.fs.broker.handlers=6 -
swc.fs.broker.metrics.enabled
TYPE_BOOLEnable or Disable Metrics tracking.
defaultswc.fs.broker.metrics.enabled=true
The configuration properties applicable for dynamic reloading
-
swc.fs.broker.fds.max
TYPE_INT32_GThe Max Open File Descriptors for the option of not closing, Condition dependable by the Program using the filesystem.
defaultswc.fs.broker.fds.max=256 -
swc.fs.broker.timeout
TYPE_INT32_GThe Default request timeout in milliseconds.
defaultswc.fs.broker.timeout=120000 -
swc.fs.broker.timeout.bytes.ratio
TYPE_INT32_GThe Timeout ratio to bytes,bytes / ratio = millisecondsadded toswc.fs.broker.timeout(default timeout).
defaultswc.fs.broker.timeout.bytes.ratio=1000 -
swc.fs.broker.comm.encoder
TYPE_ENUM_GThe encoding to use in communication with FsBroker, options PLAIN/ZSTD/SNAPPY/ZLIB.If address of local & remote is the same, the Encoder is set to PLAIN.
default
swc.fs.broker.comm.encoder=ZSTD