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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。