Dapr on Azure IoT Edge

  • Standardized development across Cloud and Edge, allowing to move functionality between those easier.
  • Rich application development on Edge made easier.
  • Abstraction of underlying technology, e.g. the same code for using RabbitMQ or Kafka. Dapr Components is the key here. Among other things, this abstraction allows to switch to a different product for reasons like: change of support terms, change of licencing etc. without touching the application. Surely this kind of switching will have more aspects/moving parts to it but this is a different story.
RUN wget https://github.com/dapr/dapr/releases/download/v0.3.0/daprd_linux_amd64.tar.gzRUN tar -zxvf daprd_linux_amd64.tar.gz
CMD ["/bin/bash", "runWithDapr.sh", "nodeapp", "3000", "3501", "50002"]

node app.js &
sleep 3
daprd --dapr-id $1 --app-port $2 --dapr-http-port $3 --dapr-grpc-port $4
“createOptions”: {
“NetworkingConfig”: {
“EndpointsConfig”: {
“host”: {}
“HostConfig”: { “NetworkMode”: “host” }


In this architecture:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store