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_STRINGS
The 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_STRING
The FsBroker host (default by hostname resolution).
defaultswc.fs.broker.host=
-
swc.fs.broker.port
TYPE_UINT16
The FsBroker port.
defaultswc.fs.broker.port=14000
-
swc.fs.broker.concurrency.relative
TYPE_BOOL
Whether HW-Concurrency base is used with the Applicable cfg properties.
defaultswc.fs.broker.concurrency.relative=true
-
swc.fs.broker.handlers
TYPE_INT32
Number or HW-Concurrency base of Handlers for broker tasks.
defaultswc.fs.broker.handlers=6
-
swc.fs.broker.metrics.enabled
TYPE_BOOL
Enable or Disable Metrics tracking.
defaultswc.fs.broker.metrics.enabled=true
The configuration properties applicable for dynamic reloading
-
swc.fs.broker.fds.max
TYPE_INT32_G
The 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_G
The Default request timeout in milliseconds.
defaultswc.fs.broker.timeout=120000
-
swc.fs.broker.timeout.bytes.ratio
TYPE_INT32_G
The Timeout ratio to bytes,bytes / ratio = milliseconds
added toswc.fs.broker.timeout
(default timeout).
defaultswc.fs.broker.timeout.bytes.ratio=1000
-
swc.fs.broker.comm.encoder
TYPE_ENUM_G
The 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