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
0
votes
0 answers

Using Dapr with React

I am creating a react application that I need to invoke dapr using the JavaScript SDK as described here: https://docs.dapr.io/developing-applications/sdks/js/js-client/ I am trying to invoke dapr from the client side in my App.js file like…
0
votes
0 answers

Dapr logs export to Azure Monitor

We have Azure API Management self-hosted on Azure Kubernetes Services. As we need to collect the logs from the container for monitoring purposes (some of the logs are sent to stdout only and not to the Application Insights). For this reason, we've…
0
votes
1 answer

Using DaprClient with Redis - how to read/write a value without prefixing it with the application name?

Using DaprClient.GetStateAsync, DaprClient.GetStateEntryAsync, and DaprClient.SaveStateAsync with a key value of variablename, whenever I read from/write to Redis, it prefixes the variablename with the name of my application. This is what it looks…
user3338893
  • 917
  • 3
  • 10
  • 17
0
votes
1 answer

NextJs 13.4 React Query with dapr javascript sdk. Module not found error

I am working on a NextJs application that use App Router. I ran into some problems when we wanted to use React Query instead of fetching in server components. I have made a file in app/utils/api.ts. And I have client component which is going to use…
Sandra
  • 1
0
votes
0 answers

Dapr State Store - Is there an equivalent of the Redis KEYS command?

I was wondering if Dapr has the option to get the functionality that Redis provides with the KEYS command. For instance, I would like to be able to get all keys where the key matches a specific pattern like: KEYS *name*
akakarikos
  • 45
  • 1
  • 1
  • 6
0
votes
2 answers

Cannot set TTl in a dapr state via Java SDK

Is there any way to set the ttl for a state in dapr for Java SDK? The DaprClient.save() method does not accept a state object. I could not even find a way to set the TTl through StateOptions class. Can anyone help me with this?
lone wolf
  • 85
  • 8
0
votes
0 answers

Dapr Components not configured with docker compose

I have a c# application using Dapr and docker-compose here is my docker-compose file version: "3.7" services: ##### Begin Infra ####### #### Postgres ##### db: image: postgres container_name: "dapr_prostgres" restart: always …
user889829
  • 388
  • 2
  • 7
  • 20
0
votes
0 answers

Dapr pubsub subscriber is not receiving messages

I have implemented Dapr PubSub with Event Hubs Locally. I have added Dapr Configurations to both the projects. From publisher daprclient.PublishEventAsync is called and that is executed with the pubsubname and topicname However, in the subscriber…
0
votes
0 answers

How to configure quorum queue in dapr pubsub for rabbitmq

I am try to write a pubsub component for dapr and trying to use rabbitmq for queue functionality. by default when application subscribes, it create a queue of type classic. my requirement is, i want to create queue type as quorum. please help on…
0
votes
0 answers

daprd container ready status is showing as false and deployment getting failed with Liveness probe failed: HTTP probe failed with statuscode: 500

I have developed the grpc api using the .NET 7 with dapr and I'm trying deploy the api in the minikube kubernets cluster in my local, all working till the time I have set to dapr.io/sidecar-liveness-probe-delay-seconds,after this time delay…
Shakir Ahamed
  • 1,290
  • 3
  • 16
  • 39
0
votes
1 answer

Dapr pubsub consumer is not consuming messages

I've got pubsub with Redis working locally. I can deploy to Azure and see messages being created in the topic subscription. If I query /dapr/subscribe I get [{"topic":"TestGotUser","pubsubName":"pubsub","route":"PubSubEventGotUserSubscriber"}] so…
Classic Neil
  • 97
  • 1
  • 6
0
votes
0 answers

Dapr PubSub with Azure Service Bus and Azure Managed Identities

I have a simple Dapr sample app with 2 apps: a checkout app that places an "order" order message using the Dapr PubSub components and a orderprocessor app that picks up the orders using the Dapr PubSub components and "processes" them. This works…
AndreiC
  • 1,490
  • 4
  • 16
  • 34
0
votes
1 answer

How to configure telemetry from dapr to Application Insights in my local development environment?

I've been struggling with this issue for a few hours now and I can't find a good explanation or example in the documentation or any blog post. They all seem to say you can do it, but reference an example of how easy it is to configure the Zipkin…
0
votes
1 answer

Dapr fails to proxy the request

I'm running dapr 1.10.0 version, it's started using this command: dapr run --components-path components --app-port 5067 --app-id auditing-example-app --app-protocol http --dapr-http-port 3500 -- dotnet run However when I use the Dapr client to…
Marek M.
  • 3,799
  • 9
  • 43
  • 93
0
votes
1 answer

Kubernetes error: unknown field "otel" error when trying to setup Open Telemetry with Dapr

I'm following the Dapr documentation to have Dapr sending data to an Open Telemetry collector pod in kubernetes. The first step is to configure Dapr to send distributed tracing data. Tracing Docs So I'm trying to add the following yaml file to…