Documentation / @andrew_l/binlog / BinlogOptions
Interface: BinlogOptions
Options for configuring the KdbBinlog
Properties
maxFileSize
maxFileSize:
number
Maximum size of each binlog file before rotation (in bytes)
Default
ts
104857600
path
path:
string
File location to store binlog files
Default
ts
'./binlogs/log-{index}.bin'
rotation
rotation:
boolean
Whether to enable log rotation
Default
ts
true
structures?
optional
structures:Constructor
<any
>[]
syncWrites
syncWrites:
boolean
Whether to sync writes to disk immediately
Default
ts
true