Questions tagged [dapr]

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

Dapr is a portable, event-driven runtime that makes it easy for enterprise developers to build resilient, microservice stateless and stateful applications that run on the cloud and edge and embraces the diversity of languages and developer frameworks.

Dapr.io

164 questions
1
vote
2 answers

dapr uninstall does not clean up all the containers that it created

On my Windows machine, I successfully initialized dapr as explained here. But upon uninstalling it, two docker containers continue to run. Am I missing something? What should I do to completely clean that up? Do I have to manually stop those two…
VivekDev
  • 20,868
  • 27
  • 132
  • 202
1
vote
0 answers

Dapr: app returned http status code 500 from subscription endpoint

I try to find a way to use Dapr in my development machine. Windows 10 Docker Desktop WSL 2 Docker Compose Visual Studio 2019 Asp.Net Core .... The problem that I'm facing is clear that my existing solution is running in HTTPS scheme. So, I tried to…
Tarek Salah
  • 170
  • 3
  • 16
1
vote
0 answers

Dapr Resource Bindings HTTP GET from external service

I tried to create a Dapr component like the following: apiVersion: dapr.io/v1alpha1 kind: Component metadata: name: nominatim namespace: default spec: type: bindings.http version: v1 metadata: - name: url value:…
Tarek Salah
  • 170
  • 3
  • 16
1
vote
2 answers

Dapr service discovery

We are evaluating Dapr for our microservice framework. We will be using Kubernetes. One of the advertised selling points for Dapr is service invocation and service discovery. Doesn't K8s already offer service discovery out of the box?
BTRox
  • 13
  • 3
1
vote
1 answer

Use Azure Storage Emulator for Dapr Local Development

For local development / debugging we setup our Dapr Components to run with docker-compose. One of the components uses an Azure Event Hub Input Binding. To keep the event streams separat per developer we created dedicated Consumer Groups and…
1
vote
2 answers

dapr getall: how to do it?

First of all, apologies, I know that this question was posted already but there is only one solution that is pointing to a dead link, no other options. So the response is no longer there. I am using dapr, docker involved, and I am using it to store…
Iria
  • 43
  • 1
  • 10
1
vote
1 answer

How to subscribe to multiple topics declaratively in Dapr Pub/Sub component?

Dapr already allows us to subscribe multiple apps to a topic declaratively. But can we use just one subscription.yaml file to subscribe an app to multiple topics declaratively? Something like: apiVersion: dapr.io/v1alpha1 kind:…
Ocimar
  • 53
  • 1
  • 6
1
vote
1 answer

'daprd' is not recognized as an internal or external command, operable program or batch file

I am trying to debug a huge project using VS Code, the project is supposed to run on dapr using docker. I have installed dapr, docker, both seem to work fine. I also have VS Code, and I managed to get dapr extension for VS Code. I build the project…
user15228766
1
vote
2 answers

Dapr not running in stand alone mode

I am pulling my hair out trying to get a basic ASP.NET Core API working with Dapr locally. I have followed the docs and still no luck. I'm sure I'm just missing something basic, but I just can't work it out. These are the steps I have done so far…
Dazfl
  • 627
  • 8
  • 23
1
vote
1 answer

How to subscribe to Topic in Dapr for .Net Core outside Controllers

I just started with Dapr a few days back and although I am able to publish and subscribe to events in Dapr, the way I am doing so is using the Topic method attribute on an action method within a controller such as this... And while this works I…
John Kears
  • 677
  • 6
  • 20
1
vote
1 answer

Dapr Client Docker Compose Issue

I have 3 services that I am attempting to integrate with Dapr within my local Docker instance. Each of the services is running in an Linux container. version: '3.4' networks: NextWare: external: true services: …
John Kears
  • 677
  • 6
  • 20
1
vote
1 answer

Dapr binding for RabbitMQ not working using Dapr pub/sub sample

I've taken the Dapr pub/sub How-to sample and tried to update it to use RabbitMQ I've downloaded the Docker rabbitmq:3 image from DockerHub and it should be listening on amqp://localhost:5672. I have created a new component file for RabbitMQ called…
Mr. Kraus
  • 7,885
  • 5
  • 28
  • 33
1
vote
1 answer

Can dapr self-hosted apps invoke a remote dapr service hosted on kubernetes?

My distributed dapr.io application is growing very quickly and contains several dapr app-ids; and running all applications locally for development purposes is becoming difficult. Is it possible for a local self-hosted app in development to invoke a…
1
vote
1 answer

Is there a dapr.io design pattern to get all keys in the state store

In a containerized microservice I'm using the dapr.io state management system as a data cache of equipment; providing a highly efficient way of accessing many equipment status at scale. Using a simple CRUD approach, I can create, read, update and…
0
votes
0 answers

Dapr kafka partition key with python

I have a Dapr pub/sub component using kafka as broker and I need to get the partion key of the messages. I publish the messages in a kafka topic from an external application, without using Dapr and neither using the cloudevents format. Then, I use…