Setting the deserialization policy in DDL
Set the deserialization policy in the WITH clause of a Kafka table with the deserialization.failure.policy option.
For the same setting in the Kafka table editor, see Handling deserialization errors.
| Option | Value | Behavior |
|---|---|---|
deserialization.failure.policy |
fail |
The default. The job fails with an exception. |
ignore |
The record is skipped without a log entry. | |
ignore_and_log |
The record is skipped and logged. | |
dlq |
The record is written to a DLQ topic. | |
deserialization.failure.dlq.topic |
A topic name | Required when the policy is dlq. Without it, the job fails with
Kafka Table set to use Dead Letter Queue, but no topic
specified. |
