mongochangestream
Advanced tools
Changelog
0.27.0
healthCheckFail
if a health check fails.Changelog
0.26.0
processChangeStream
now takes an option object instead of a pipeline for the second argument.restart
fn to runInitialScan
and processChangeStream
.runInitialScan
and processChangeStream
: maintainHealth
and healthCheckInterval
. When maintainHealth
is set to true
a failure to write a record when performing an initial scan within healthCheckInterval
will cause runInitialScan
to restart. When maintainHealth
is set to true
a failure to process the latest insert within healthCheckInterval
when processing a change stream will cause processChangeStream
to restart.Record<string, any>
for type JSONSchema
.Changelog
0.22.0
detectSchemaChange
.changeStream.start
which resolves after the initial
change detection has completed.