Dapr入门学习 Day 5

开发语言SDK与框架

Developer language SDKs and frameworks

为了使Dapr在不同语言中的使用更加自然,它还提供了针对Go、Java、JavaScript、.NET和Python的等语言的sdk。这些sdk通过类型化语言API(而不是调用http/grpc)公开Dapr构建块中的功能,例如保存状态、发布事件或创建参与者。这使您能够用它们选择的语言编写无状态和有状态函数和参与者的组合。由于这些sdk共享Dapr运行时,您可以获得跨语言actor和函数支持。

To make using Dapr more natural for different languages, it also includes language specific SDKs for Go, Java, JavaScript, .NET and Python. These SDKs expose the functionality in the Dapr building blocks, such as saving state, publishing an event or creating an actor, through a typed, language API rather than calling the http/gRPC API. This enables you to write a combination of stateless and stateful functions and actors all in the language of their choice. And because these SDKs share the Dapr runtime, you get cross-language actor and functions support.

SDKs

C++ SDK
Go SDK
Java SDK
Javascript SDK
Python SDK
.NET SDK

你可能感兴趣的:(Dapr入门学习 Day 5)