ElasticJob-Lite currently provides TracingConfiguration
based on database in the configuration. Developers can also extend it through SPI.
// init DataSource
DataSource dataSource = ...;
// define tracing configuration based on relation database
TracingConfiguration tracingConfig = new TracingConfiguration<>("RDB", dataSource);
// init registry center
CoordinatorRegistryCenter regCenter = ...;
// init job configuration
JobConfiguration jobConfig = ...;
jobConfig.getExtraConfigurations().add(tracingConfig);
new ScheduleJobBootstrap(regCenter, jobConfig).schedule();
当前内容版权归 ElasticJob 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ElasticJob .