schema_version: 1
id: changefeed-stops-on-row-encoding-error
title: Changefeed stops on row encoding error
status: draft
owner: codex
source: jira
environment:
  profile: stable-dedicated
  cluster_id: '1379661944646415697'
  cluster_type: dedicated
  tidb_version: v8.5.7-release.1
time_window:
  incident_at: '2026-07-09T00:24:00Z'
  allowed:
  - id: reported_incident_window
    start: '2026-07-09T00:00:00Z'
    end: '2026-07-09T01:00:00Z'
prompt:
  text: '请分析集群 1379661944646415697 在 2026-07-09T00:00:00Z 到 2026-07-09T01:00:00Z 的 changefeed 停止。Kafka sink 使用 Debezium 编码，错误为 `ErrDebeziumEncodeFailed: Incorrect datetime value: ''<nil>''`，但源行中的该列允许 NULL。请判断是脏数据还是编码/元数据问题，并给出恢复与长期修复建议。'
tags:
- cdc
- encoding
- changefeed-error
case_tier: P1
cost_tier: medium
followup:
  scheduled_max_followups: 0
execution:
  acp_bash_timeout_s: 900
