To support AVRO Enum type for Confluent Kafka-Connect

备注, 使用kafka connect 5.0时候, 发现其对enum type support 总是无法解析,

added support on :
https://github.com/dong114/schema-registry/commit/c988da9d23c74ede21f347c6bc0b1f90db12b91a

ref to:

https://github.com/confluentinc/schema-registry/issues/658

avro samples:

{
"name": "basic_information",
"type": {
"type": "array",
"items": {
"name": "basic_information_record",
"type": "record",
"fields": [
{
"name": "record_type",
"type": [
{
"type": "enum",
"name": "record_type_enum",
"default": "TYPE_INVALID",
"symbols": [
"TYPE_INVALID",
"TYPE_CP",
"TYPE_AP",
"TYPE_AS",
"TYPE_EL"
]
}
]
},
{
"name": "node_address",
"type": "string",
"default": "null"
}
]
}
}
}

你可能感兴趣的:(To support AVRO Enum type for Confluent Kafka-Connect)