Skip to content

Commit fb6dcd4

Browse files
committed
refactor: init more components interface
1 parent 1395d7a commit fb6dcd4

File tree

13 files changed

+183
-417
lines changed

13 files changed

+183
-417
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This is the Capa SDK for Java, including the following features:
66

77
+ Service Invocation(RPC)
88
+ Configuration Centor(Configuration)
9-
+ Application Metrics(Metrics)
109
+ Publish/Subscribe(Pub/Sub)
1110
+ State Management(State)
11+
+ Application Metrics(Metrics)
1212
+
1313
参考项目:
1414

@@ -43,7 +43,7 @@ API设计和社区保持同步,请参考Dapr/Layotto等开源项目的设计
4343

4444
目前API定义在: [cloud-runtimes](https://github.com/reactivegroup/cloud-runtimes-jvm)
4545

46-
#### [RPC API design]()
46+
#### SDK层次设计
4747

4848
module划分主要为以下几个部分:
4949
* sdk
@@ -57,6 +57,8 @@ module划分主要为以下几个部分:
5757

5858
在运行前,会将具体的SPI实现包引入进去,作为统一编程API的具体实现。
5959

60+
#### 举例:[RPC API design]()
61+
6062
## Getting Started
6163

6264
#### Importing Capa's Java SDK
@@ -80,7 +82,7 @@ For a Maven project, add the following to your pom.xml file:
8082
</project>
8183
```
8284

83-
85+
Sample implementation library:
8486

8587
```xml
8688
<project>
@@ -90,7 +92,7 @@ For a Maven project, add the following to your pom.xml file:
9092
<!-- Capa's core SDK with all features. -->
9193
<dependency>
9294
<groupId>group.rxcloud</groupId>
93-
<artifactId>capa-sdk-spi-aws</artifactId>
95+
<artifactId>capa-sdk-spi-demo</artifactId>
9496
<version>1.0.1.RELEASE</version>
9597
</dependency>
9698
...
@@ -103,8 +105,9 @@ For a Maven project, add the following to your pom.xml file:
103105

104106
Try the following examples to learn more about Capa's Java SDK:
105107

106-
* [RPC]()
107-
* ...
108+
* [capa-demo](https://github.com/reactivegroup/capa/tree/master/sdk-spi-demo)
109+
* [capa-aws](https://github.com/reactivegroup/capa-aws)
110+
* [capa-alibaba](https://github.com/reactivegroup/capa-alibaba)
108111

109112
#### Reactor API
110113

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package group.rxcloud.capa.component.bindings;
2+
3+
public abstract class InputBinding {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package group.rxcloud.capa.component.bindings;
2+
3+
public abstract class OutputBinding {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package group.rxcloud.capa.component.pubsub;
2+
3+
public abstract class PubSub {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package group.rxcloud.capa.component.state;
2+
3+
public abstract class Store {
4+
}

0 commit comments

Comments
 (0)