FlinkSQL设置sink的并行度

create table aaa (
    pt_dt string,
    proc_time timestamp,
    ctime timestamp,
    PRIMARY KEY(tqi_id) NOT ENFORCED
) with (
    'connector'='upsert-kafka',
    'topic'='bbb',
    'properties.bootstrap.servers'='${sql.kafka.bootstrap.server}',
    'properties.group.id'='ccc',
    'key.format'='json',
    'value.format'='json',
    'value.json.fail-on-missing-field'='false',
    'sink.parallelism'='1'
);

你可能感兴趣的:(Flink,flink)