You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "fairyto2 (via GitHub)" <gi...@apache.org> on 2024/06/14 05:50:53 UTC
[I] 配置普通AVRO schema [doris-kafka-connector]
fairyto2 opened a new issue, #29:
URL: https://github.com/apache/doris-kafka-connector/issues/29
示例中AVRO只写了io.confluent的registry.url版本,请问是否支持普通的AVRO schema,或者在配置中直接指定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: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] 配置普通AVRO schema [doris-kafka-connector]
Posted by "DongLiang-0 (via GitHub)" <gi...@apache.org>.
DongLiang-0 commented on issue #29:
URL: https://github.com/apache/doris-kafka-connector/issues/29#issuecomment-2182120880
Currently, the schema cannot be specified.
If you have such a need, you can add me on WeChat to chat: Shake9988
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] 配置普通AVRO schema [doris-kafka-connector]
Posted by "fairyto2 (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org