我有一些这样的avro数据打印在终端上。
{"cust_status_id":0, "cust_status_description":{"string":" Approved"}}
我创建的Avro模式就像
{
"namespace": "com.thp.report.model",
"type": "record",
"name": "PraStatusMaster",
"fields": [
{
"name": "pra_status_code",
"type": "int"
},
{
"name": "pra_status_description",
"type": "string",
"avro.java.string": "String"
}
]
}
架构正确吗?