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
104857600path ​
path:
string
File location to store binlog files
Default ​
ts
'./binlogs/log-{index}.bin'rotation ​
rotation:
boolean
Whether to enable log rotation
Default ​
ts
truestructures? ​
optionalstructures:Constructor<any>[]
syncWrites ​
syncWrites:
boolean
Whether to sync writes to disk immediately
Default ​
ts
true