数据湖探索 DLI-开源Kafka输入流:语法格式

时间:2024-11-16 13:21:40

语法格式

1
2
3
4
5
6
7
8
9
CREATE SOURCE STREAM stream_id (attr_name attr_type (',' attr_name attr_type)* )
  WITH (
    type = "kafka",
    kafka_bootstrap_servers = "",
    kafka_group_id = "",
    kafka_topic = "",
    encode = "json",
    json_config=""
  );
support.huaweicloud.com/sqlref-flink-dli/dli_08_0239.html