Configure error handling
Specifies whether Kafka Connector should continue processing records even if an error occurred.
cassandra-sink-distributed.json.sample
- The cassandra-sink-distributed.json.sample file is located in the conf directory of the DataStax Apache Kafka Connector distribution package.
cassandra-sink-standalone.properties.sample
- The cassandra-sink-standalone.properties.sample file is located in the conf directory of the DataStax Apache Kafka Connector distribution package.
DataStax Apache Kafka™ 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.
If you setValue 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 ignoreErrorsto any value other thanfalse, any erroneous record is logged once and the next record is picked up by the Kafka Connector automatically.
