samples

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2019 License: MIT

README

Dapr Samples

Build Status

This repository contains a series of samples that highlight Dapr capabilities. The first sample demonstrates how we run Dapr in standalone mode, while the second highlights how we run the same application in Kubernetes. Each subsequent sample includes instructions for running both in standalone and in Kubernetes.

Supported Dapr Runtime version

Dapr is currently under community development with preview releases. The master branch includes breaking changes, therefore ensure that you're running the samples with the right version of Dapr runtime.

Dapr Sample Version Dapr Runtime Version
v0.2.0 v0.2.0
v0.1.0 v0.1.0

Samples

Sample Description
1.hello-world Demonstrates how to run Dapr locally. Highlights service invocation and state management.
2.hello-kubernetes Demonstrates how to run Dapr in Kubernetes. Highlights service invocation and state management.
3.distributed-calculator Demonstrates a distributed calculator application that uses Dapr services to power a React web app. Highlights polyglot (multi-language) programming, service invocation and state management.
4.pub-sub Demonstrates how we use Dapr to enable pub-sub applications. Uses Redis as a pub-sub component.
5.bindings Demonstrates how we use Dapr to create input and output bindings to other components. Uses bindings to Kafka.
6.functions-and-keda Demonstrates use of Dapr pub/sub from Azure Functions, as well as composition with KEDA.

To get started with the samples, clone this repository and follow instructions in each sample:

git clone https://github.com/dapr/samples.git

Directories

Path Synopsis
3.distributed-calculator
go command
twitter-sentiment-processor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL