https://github.com/salaboy/dapr-shared-examples
examples for tutorial
https://github.com/salaboy/dapr-shared-examples
Last synced: 13 days ago
JSON representation
examples for tutorial
- Host: GitHub
- URL: https://github.com/salaboy/dapr-shared-examples
- Owner: salaboy
- License: apache-2.0
- Created: 2023-05-15T16:18:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T13:54:26.000Z (almost 2 years ago)
- Last Synced: 2025-02-17T19:15:09.495Z (3 months ago)
- Language: Go
- Size: 3.68 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dapr-ambient-examples
This repository aims to show how to use Dapr Ambient and Dapr building blocks (State management and Pub/Sub) with multiples services into a cluster kubernetes.
## Architecture
Below, you can see a high-level and simple architecture used on this example.
### subscriber
Subscriber just listen by notifications sent from [write-values](#write-values). This component receives all notifications and requests from `dapr` through `dapr-ambient` proxy.
### write-values
Write-values is responsible for save values into `redis` through `dapr-ambient`.
```
curl -X POST http://:?value=90
```### read-values
Read-values reads all values created by `write-values` and returns an average.
```
curl http://:
```