Apache ShardingSphere ElasticJob document Nov 01, 2023Implementation Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Elastic Distributed Implementation . . . . . . . . . . . . . . . . . . . . . . . . . 10 Registry Data Structure . . 58 Common Listener Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Distributed Listener Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 58 ii 6.2.4 Event Tracing . . . . . . . . 91 10.6 What should you do if you suspect that ElasticJob has a problem in a distributed envi‐ ronment, but it cannot be reproduced and cannot be debugged in the online environment? 910 码力 | 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 document1.8 Appendix with SQL operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 8.2 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 8.2.1 Background can not cast to Long exception occurs. . . . . . . . . 579 13.3.6 Sharding Why is the default distributed auto‐augment key strategy provided by ShardingSphere not continuous and most of them end with does my custom distributed primary key do not work after imple‐ menting KeyGenerateAlgorithm interface and configuring type property? . 580 13.3.9 Sharding In addition to internal distributed primary key0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档33 Apache ShardingSphere document 8.2.7 核心概念 XA 协议 XA 协议最早的分布式事务模型是由 X/Open 国际联盟提出的 X/Open Distributed Transaction Processing (DTP) 模型,简称 XA 协议。 8.2.8 使用限制 虽然 Apache ShardingSphere 希望能够完全兼容所有的分布式事务场景,并在性能上达到最优,但在 Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses 0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 5.0.0-alpha DocumentData Sharding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.2 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.3 Database Governance 14 Inline Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Distributed Primary Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Hint Sharding Route Pagination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.2 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 3.2.1 Background0 码力 | 311 页 | 2.09 MB | 1 年前3
Apache ShardingSphere 5.0.0 Document26 Inline Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Distributed Primary Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Hint Sharding Route Pagination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.3.1 Background 165 Governance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 DistSQL . . .0 码力 | 403 页 | 3.15 MB | 1 年前3
Apache ShardingSphere 5.1.1 Document30 Inline Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Distributed Primary Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Hint Sharding Route Pagination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.4 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.4.1 Background DatabaseDiscoveryType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 6.10 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 6.10.10 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.1.2 Document30 Inline Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Distributed Primary Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Hint Sharding Route Pagination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 4.4 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.4.1 Background 9.1 DatabaseDiscoveryProviderAlgorithm . . . . . . . . . . . . . . . . . . . . . . . 246 6.10 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 6.10.10 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 5.2.0 Document1.8 Appendix with SQL operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2.1 Background Implementation classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 5.10 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 5.10.1 can not cast to Long exception occurs. . . . . . . . . 458 8.3.6 Sharding Why is the default distributed auto‐augment key strategy provided by ShardingSphere not continuous and most of them end with0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.2.1 Document1.8 Appendix with SQL operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.2 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.2.1 Background Implementation classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 5.10 Distributed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 5.10.1 can not cast to Long exception occurs. . . . . . . . . 497 8.3.6 Sharding Why is the default distributed auto‐augment key strategy provided by ShardingSphere not continuous and most of them end with0 码力 | 523 页 | 4.51 MB | 1 年前3
共 19 条
- 1
- 2













