Configure error handling

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 ignoreErrors settings to ignore specific types or all runtime errors, depending on the setting you choose.

Value Meaning Notes

false

No errors are ignored

Deprecated - equivalent to NONE

true

Only driver errors are ignored

Deprecated - equivalent to DRIVER

NONE

No errors are ignored; default behavior

ALL

All errors are ignored

DRIVER

Only driver errors are ignored

If you set ignoreErrors to any value other than false, any erroneous record is logged once and the next record is picked up by the Pulsar Connector automatically.

Default: NONE.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com