fairyto2 commented on issue #29:
URL:
https://github.com/apache/doris-kafka-connector/issues/29#issuecomment-2185716025
**需求:**
1. 希望支持apache avro的序列化及反序列化过程;
2. 希望支持配置中指定schema方式,不使用reigister url。
**注:** apache avro与confluent avro的数据二进制定义有所不同,无法兼容。
**配置示例:**
``` JSON
{
"value.converter": "com.xxx.AvroConverter", // 自定义converter
"value.converter.schema.schemaString":"{\"type\":\"record\",\"name\":\"test_schema\",\"namespace\":\"test_schema\",\"fields\":[{\"name\":\"test_array\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"string\"}],\"default\":null},{\"name\":\"test_string\",\"type\":[\"null\",\"string\"],\"default\":null}]}",
} // schema字符串
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]