SDKs
Dapr SDK是将Dapr应用到您的应用程序中最简单的方法。 选择你最喜欢的语言,并在几分钟内开始使用Dapr。
SDK软件包
- 客户端SDK:Dapr客户端允许您调用Dapr构件的API,并执行下例操作:
- Invoke methods on other services
- Store and get state
- Publish and subscribe to message topics
- Interact with external resources through input and output bindings
- Get secrets from secret stores
- Interact with virtual actors
- 服务扩展:Dapr服务扩展允许你创建具有以下功能的服务:
- Actor SDK: Dapr Actor SDK允许你使用以下方法构建virtual actors:
SDK 语言
语言 | 状态 | 客户端 SDK | 服务扩展 | Actor SDK |
---|---|---|---|---|
.NET | Stable | ✔ | ASP.NET Core | ✔ |
Python | Stable | ✔ | gRPC | FastAPI Flask |
Java | Stable | ✔ | Spring Boot | ✔ |
Go | Stable | ✔ | ✔ | |
PHP | Stable | ✔ | ✔ | ✔ |
C++ | In development | ✔ | ||
Rust | In development | ✔ | ||
Javascript | In development | ✔ |