CREATE TABLE source_test
(
custId STRING,
custCode STRING,
custChName STRING,
custEnName STRING,
certType STRING,
certCode STRING,
dishonestFlag STRING,
updateDate STRING
) WITH (
'connector' = 'kafka-x'
,'topic' = 'topic-test'
,'properties.bootstrap.servers' = '172.1.2.215:8081'
,'properties.group.id' = 'test'
,'scan.startup.mode' = 'earliest-offset'
,'format' = 'json'
,'json.timestamp-format.standard' = 'SQL'
,'scan.parallelism' = '1'
);
这个是我sql,我是想着用参数去替代里面的kafka地址,但是不知道在sql脚本里面怎么写
kafka 地址是配置在sql 的source table的property 里的。你可以发下你的样例
想了解或咨询更多有关袋鼠云大数据产品、行业解决方案、客户案例的朋友,浏览袋鼠云官网:https://www.dtstack.com/?src=bbs
同时,欢迎对大数据开源项目有兴趣的同学加入「袋鼠云开源框架钉钉技术群」,交流最新开源技术信息,群号码:30537511,项目地址:
https://github.com/DTStack/chunjun