The DataStax Apache Pulsar™ Connector provides an optional parameter, ignoreErrors.
When set to true, it allows the connector to continue processing records even after an error occurred on the prior record.
- ignoreErrors
-
Use
ignoreErrorssettings to ignore specific types or all runtime errors, depending on the setting you choose.Value Meaning Notes falseNo errors are ignored
Deprecated - equivalent to
NONEtrueOnly driver errors are ignored
Deprecated - equivalent to
DRIVERNONENo errors are ignored; default behavior
ALLAll errors are ignored
DRIVEROnly driver errors are ignored
If you set
ignoreErrorsto any value other thanfalse, any erroneous record is logged once and the next record is picked up by the Pulsar Connector automatically.Default:
NONE.