参考以下YAML配置部分的计划时间,每隔8小时创建一次批量同步,但不会生成计划时间。使用默认批量同步配置也会产生相同的结果,即不会创建计划。这是一个配置问题,还是由于批量同步处于实验阶段?
schedule:
type: time
time:
time:
cronExpression: 12 */8 * * *
timeZone: America/Chicago使用YAML配置创建批量同步时,如何添加计划?
发布于 2020-12-07 18:23:20
我不熟悉“批量同步配置”,我必须在文档/documentation/product/data-connector/creating-syncs-in-bulk中搜索它。Afaik批量同步创建功能位于功能标志之后,因此仍被认为是实验性的,因此可能由于此而应用计划是一个已知问题。因此,我建议您联系您的内部同行或支持团队。
关于配置,您在这里粘贴的内容似乎是正确的。这是我找到的一个例子,它可能会帮助你比较你这边的同步。
configs:
- extractConfig:
sourceAdapter:
type: file-based-source-adapter
subfolder: nested_folder
processors: []
outputOptions:
transactionType: SNAPSHOT
outputDatasetPath: path/bulk/dataset
schedule:
type: time
time:
time:
cronExpression: 0 0 */1 * *
timeZone: America/Chicago
- extractConfig:
sourceAdapter:
type: file-based-source-adapter
subfolder: data
processors: []
outputOptions:
transactionType: UPDATE
outputDatasetPath: another/dataset/path
type: jdbc-source-adapter
jdbcOptions:
preQueries: []
query:
sqlQuery: SELECT * FROM "FOO"."BAR" where foodt_dt > ? or bar_dt > ?
initialState:
type: timestampColumn
currentValue: 1564666600001
columnName: foodt_dthttps://stackoverflow.com/questions/65156436
复制相似问题