{
  "type": "record",
  "namespace": "com.learn.kafka",
  "name": "User",
  "doc": "用户事件 v2 - 加 email（带默认值，BACKWARD 兼容）",
  "fields": [
    { "name": "id",    "type": "long",   "doc": "用户唯一 ID" },
    { "name": "name",  "type": "string", "doc": "用户名" },
    { "name": "email", "type": "string", "default": "unknown@example.com", "doc": "邮箱，允许旧消息缺失时填默认值" },
    { "name": "age",   "type": ["null", "int"], "default": null, "doc": "年龄，可空字段写法" }
  ]
}
