KassieZ commented on code in PR #2323: URL: https://github.com/apache/doris-website/pull/2323#discussion_r2059741285
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/doris-kafka-connector.md: ########## @@ -427,6 +427,68 @@ curl -i http://127.0.0.1:8083/connectors -H "Content-Type: application/json" -X }' ``` +### 使用 Kafka Connect SMT 转换数据 + +数据样例如下: +```shell +{ + "registertime": 1513885135404, + "userid": "User_9", + "regionid": "Region_3", + "gender": "MALE" +} +``` + +假设我们想在 Kafka 消息中硬编码新增一个列,我们可以使用 InsertField 。另外, 我们也可以使用 TimestampConverter 将 Bigint 类型 timestamp 转换成时间字符串。 Review Comment: 人称建议不使用“我们”,用第三人称。可以大模型优化一下 -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org