镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
daprPublic

About

C++ SDK for Dapr

Resources

Stars

38 stars

Watchers

18 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

C++ SDK for Dapr

Alpha quality.

Prerequisites

Note: C++ highly depends on the installed dependencies in the system. This project uses VSCode Remote Container environment to build and develop cpp-sdk in a consistent way.

  1. Install Docker CLI
  2. Install VSCode
  3. Install VSCode Remote - Container extension

Alternatively, you can build the image yourself, based on the Dockerfile in the repository:

docker build -t cppsdk .

Then you can access the container's shell and execute commands in it:

docker run -it -v $(pwd):/sdk cppsdk /bin/bash

To refresh .proto files from upstream dapr

  1. Rebuild and commit generated API
    export DAPR_TARGET=<runtime_release_tag>
    make refresh_proto_files && make && git add src/dapr/proto/*/v1/*{.cc,.h} dapr/proto/*/v1/*.proto 
    git commit -m "Updating to dapr runtime $DAPR_TARGET"
  2. Submit a PR with the changes

Build library

  1. Make sure that you enable vscode remote container
  2. Build client
    make all

Run the example validation

  1. Make sure that you enable vscode remote container
  2. Run the example validation
    cd examples/echo_app/ && mm.py README.md && echo SUCCESS

About

C++ SDK for Dapr

Resources

Stars

38 stars

Watchers

18 watching

Forks

Releases

Packages

Used by

Contributors

Languages