Apache ShardingSphere ElasticJob document Nov 01, 2023dependency • Job Open Ecosystem – Unify job api for extension – Support rich job type lib, such as dataflow, script, HTTP, file, big data – Focus business SDK, can work with Spring IOC • Admin Console to implement the job interface to realize business logic. Typical representatives: Simple type, Dataflow type. Type-based Jobs only need to provide the type name, developers do not need to implement the running on the job server, etc. ElasticJob provides two class‐based job types which are Simple and Dataflow; and also provides a type‐based job which is Script. Users can extend job types by implementing0 码力 | 101 页 | 1.53 MB | 1 年前3
Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日ElasticJob 的作业可划分为基于 class 类型和基于 type 类型两种。 Class 类型的作业由开发者直接使用,需要由开发者实现该作业接口实现业务逻辑。典型代表:Simple 类 型、Dataflow 类型。Type 类型的作业只需提供类型名称即可,开发者无需实现该作业接口,而是通过外 置配置的方式使用。典型代表:Script 类型、HTTP 类型。 5.5. 作业开放生态 20 Apache getShardingTotalCount(), getShardingItem() 等方法分别获取分片总数,运行在本作业服务 器的分片序列号等。 ElasticJob 目前提供 Simple、Dataflow 这两种基于 class 的作业类型,并提供 Script、HTTP 这两种基于 type 的作业类型,用户可通过实现 SPI 接口自行扩展作业类型。 简单作业 意为简单实现,未经任何封装的类型。需实现 processData(ShardingContext shardingContext, Listdata) { // process data // ... } } 流式处理 可通过属性配置 streaming.process 开启或关闭流式处理。 如果开启流式处理,则作业只有在 fetchData 方法的返回值为 null 或集合容量为空时,才停止抓取,否 则作业将一直运行下去;如果关闭流式处 0 码力 | 98 页 | 1.97 MB | 1 年前3
Apache ShardingSphere v5.5.0 documentstandard . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . . . . . 5 2.3 Pluggable: Building database function ecology . . . Test environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 Test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492 11.5.2 User Guide Environment configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 Run the test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494 11.6 Performance Test .0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档DATETIME(6) NOT NULL COMMENT 'modify datetime', UNIQUE KEY `ux_undo_log` (`xid`, `branch_id`) ) ENGINE = InnoDB AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COMMENT ='AT transaction mode undo table'; 实例下,其可通过如下 bash 命令通过 SDKMAN! 管理 JDK 和工 具链,并为 shardingsphere-test-native 子模块执行 nativeTest。 你必须安装 Docker Engine 以执行 testcontainers-java 相关的单元测试。 sudo apt install unzip zip curl sed -y curl -s "https://get.sdkman NOT NULL, `user_id` int NOT NULL, `status` varchar(45) DEFAULT NULL, PRIMARY KEY (`order_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 • 删除切分表 DROP TABLE t_order; • 删除分片规则 DROP SHARDING TABLE RULE0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 5.0.0-alpha DocumentParse Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Route Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Rewrite Engine . . . . . . . . . . . . . . . . . . . . . . 33 Execute Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Merger Engine . . . . . . . . . . . . . . . . . . . . . . . . . . Goal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 3.10 Test Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 3.10.1 Integration0 码力 | 311 页 | 2.09 MB | 1 年前3
Apache ShardingSphere 5.0.0 DocumentQuery Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 7.1.7 Parse Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Abstract Syntax Tree Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 7.1.8 Route Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 Sharding Route . Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 7.1.9 Rewrite Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 Correctness Rewrite .0 码力 | 403 页 | 3.15 MB | 1 年前3
Apache ShardingSphere 5.1.1 DocumentQuery Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 7.2.7 Parse Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Abstract Syntax Tree Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 7.2.8 Route Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Sharding Route . Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 7.2.9 Rewrite Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Correctness Rewrite .0 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.1.2 DocumentQuery Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 7.2.7 Parse Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 Abstract Syntax Tree Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 7.2.8 Route Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Sharding Route . Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 7.2.9 Rewrite Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 Correctness Rewrite .0 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 5.2.0 Documentlevel standard . . . . . . . . . . . . . . . . . . 5 1.2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . 5 1.2.3 Pluggable: Building database function ecology . . . . . . Test environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 Test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 6.5.2 User Guide Environment configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Run the test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330 6.6 Performance Test .0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.2.1 Documentlevel standard . . . . . . . . . . . . . . . . . . 4 1.2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . 4 1.2.3 Pluggable: Building database function ecology . . . . . . Test environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354 Test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 x 6.5.2 User Guide Environment configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 Run the test engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 6.6 Performance Test .0 码力 | 523 页 | 4.51 MB | 1 年前3
共 19 条
- 1
- 2













