datavane / tis

Support agile DataOps Based on Flink, DataX and Flink-CDC, Chunjun with Web-UI
https://tis.pub
Apache License 2.0
1.04k stars 221 forks source link

数据通道实例名称不能以数字开头 #263

Closed baisui1981 closed 1 year ago

baisui1981 commented 1 year ago

数据通道实例名称不能以数字开头,以免基于此实例名称,在后续自动生成的scala 脚本 的类名称为 数字开头,导致scala 无法编译成功。

baisui1981 commented 1 year ago

使用 pattern 进行校验:

Pattern PATTERN_START_WITH_NUMBER = Pattern.compile("^\\d.+");
baisui1981 commented 1 year ago

已经完成