211 questions
0
votes
1
answer
180
views
Azure Fuction DARP Publish set up scheduling option in Azure Service bus message
I want to create an Azure function(using C# and DARP API), which gets triggered when a message comes into an Azure Service Bus and then publishes a test message to a topic in Azure Sevice bus. But I ...
1
vote
0
answers
159
views
Dapr pubsub with redis
With Dapr pub-sub using redis can we limit the rate/interval at which dapr will check if there is a new message in redis? I have been looking for a way to limit that in the yaml file. Here is a sample ...
0
votes
1
answer
825
views
Dapr - "failed to invoke, id: webapi, err: couldn't find service: webapi"
I have a .NET Web API where I have installed dotnet add package Dapr.AspNetCore and have included this in the service collection:
services.AddControllers().AddDapr();
app.UseEndpoints(e =>
{
e....
2
votes
0
answers
413
views
Using VSCode DevContainers with Dapr - Can't run Dapr Init within postStartCommand because Docker Runtime is not available
I am trying to setup a DevContainer for Dapr to make dev environment setup easy. I would like to run Dapr Init automatically so that there are no manual steps needed to run services.
I put "dapr ...
1
vote
0
answers
338
views
mTLS with dapr not working in self-hosted with docker
I am trying to unable mTLS for securing sidecar to sidecar communication but I am not sure how to set environment variables DAPR_TRUST_ANCHORS, DAPR_CERT_CHAIN, DAPR_CERT_KEY ca.crt, issuer.crt, ...
0
votes
1
answer
143
views
DAPR Actor lifetime - graceful stop
Lets suppose I have a DAPR actor implementation, which covers a long running operation implemented in single threaded loop. The actor has two responsibilities:
when actor creates - it also creates ...
0
votes
0
answers
122
views
Run Docker Image of DAPR Azure Function with DaprTopicTrigger not working
I have created a Azure Function using DAPR DaprTopicTrigger when I am running the code locally it works fine. I created an Docker image and when I am trying to run using the dapr run command I am ...
0
votes
1
answer
1k
views
non-retriable error returned from app while processing pub/sub event when using declarative way
I'm getting an error like this when i try to consume a topic using DAPR pub/sub. It looks like the message is consumed successfully, but an error is logged just before. Couldn't identify the root-...
1
vote
1
answer
505
views
Error while running Azure Function with service bus trigger using DAPR in VS Code
I am trying to run Azure Function(C#) with service bus trigger and using DAPR to publish message to another queue in VS Code. But I am getting below error when I try to run the code: "No job ...
1
vote
2
answers
392
views
Get original exception from Dapr InvocationException
I am using Dapr in a .Net microservices environment to communicate between different services. I have run into a situation where the called service is throwing an exception (could be for any reason) ...
1
vote
1
answer
345
views
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 ...
0
votes
1
answer
328
views
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.
...
1
vote
1
answer
647
views
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 ...
1
vote
2
answers
502
views
How to subscribe to changes in Azure App Configuration using Dapr
I want to use Dapr to subscribe to changes in an Azure App Configuration store as documented on this page: https://docs.dapr.io/reference/components-reference/supported-configuration-stores/azure-...
0
votes
1
answer
561
views
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",...
1
vote
0
answers
145
views
How to unit test dapr subscriber in .net 6?
I have controller with following action :
[Topic("pubsub", "test")]
[HttpPost("test")]
public async Task Post([FromBody] CustomDto customDto)
{
await _customService....
0
votes
1
answer
556
views
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 -- ...
1
vote
0
answers
254
views
DAPR and Zipkin missing spanid
I'm getting the following error viewing my traces in Zipkin
TypeError: Cannot read properties of undefined (reading 'spanId')
at ao (Timeline.tsx:88:50)
at Xo (react-dom.production.min.js:153:146)
at ...
0
votes
1
answer
465
views
Dapr Exponential backoff for RETRY (AzureServiceBus)
Currently deployed services to the Azure container apps and they communicate through the azure service bus
During communication, a service will send 4000 messages some messages will throw errors ...
2
votes
0
answers
553
views
RabbitMQ dapr error when publish to topic topic_name in pubsub pubsub : channel not Initialized
I am using dapr rabbitmq pubsub to publish and subscribe the events.
It is Woking fine with cloud end points but getting error in local setup
RabbitMQ dapr error when publish to topic topic_name in ...
0
votes
1
answer
362
views
Looking for instructions how to run Dapr QuickStart sample locally without Kubernetes
I am going through the following Dapr sample:
https://github.com/dapr/quickstarts/tree/master/tutorials/hello-kubernetes
The sample needs Kubernetes.
To my understanding, Dapr can run locally with no ...
0
votes
0
answers
632
views
Dapr pub-sub connection refused
I have an endpoint wired up to subscribe to an Azure Service Bus Topic. Something like this:
[Topic("my-component", "my-topic")]
[HttpPost("[action]")]
public async Task&...
0
votes
0
answers
598
views
dapr to access kubernetes secrets as secretstore
following my previous question about dapr and k8s secrets.
I have a k8s secret defined as follow:
apiVersion: v1
kind: Secret
metadata:
name: secretstore
namespace: my-namespace
type: Opaque
data:
...
0
votes
1
answer
142
views
Fine-grained control over what kind of failures trip a dapr circuit breaker
Question
Is it possible to further specifiy what kind of failures trip a dapr circuit breaker targeting a component (AWS SQS)?
Use case
I am sending emails via AWS SES. If you reach your sending ...
2
votes
1
answer
887
views
Dapr time out issue while connecting to Azure Redis from local
I have Dapr sample Counter application which working fine with local redis server, but if I try to connect with "Azure redis for cache" I am getting time out error.
My yaml file with sample ...