211 questions
0
votes
0
answers
78
views
Dapr / Aspire PubSub not loading component yaml
I am attempting to setup a project with Aspire and DAPR.
I want to register a sidecar in my API and Frontend application that will use pubsub. The pubsub should come from a DAPR yaml component file.
I ...
0
votes
0
answers
47
views
Dapr firewall rule required for local development with dotnet
I am trying to use dapr for local development using Visual Studio 2022 but it seems the connections with dapr are blocked through my antivirus Bitdefender firewall settings.
It only works when I ...
0
votes
1
answer
184
views
Are Dapr Sidecar Health Checks Automatically Configured in Azure Container Apps?
According to the Dapr documentation, when API logging is enabled, all calls to the Dapr API server—including the health check endpoints—should be logged. The documentation specifies that health check ...
0
votes
1
answer
1k
views
Why doesn't Container Apps scale down with scale rule in place (scale up works)?
I've configured a ContainerApp with an auto scale rule in place based on the Azure Service Bus Topics. The up scaling of the ContainerApp works properly. However, it does not scale down. Any idea what ...
0
votes
1
answer
529
views
Container Apps scale rule based on Azure Service Bus Topics?
I'm looking for a way to auto scale a Container App based on the amount of messages in the Azure Service Bus Topic, is that possible? I can only find examples based on queues, but not topics.
Also I'...
1
vote
0
answers
218
views
Dotnet Aspire project with DAPR sidecar using gRPC, setting AppProtocol throws exception
I'm trying to get Aspire to run up a C# (.NET 8) project that exposes a DAPR service that uses gRPC. Another service will then use InvokeMethodGrpcAsync to call the service. Aspire throws this error:
...
0
votes
1
answer
232
views
Why is Dapr PubSub set to redis instead of Service Bus in ContainerApps (.NET Aspire)
So I've created a resource pubsub.yaml which references a Service Bus Connection String. It works fine on my local machine using .NET Aspire, however when I use the az up (Container Apps) it fails. In ...
0
votes
0
answers
23
views
Connect Dapr with Apache Pulsar Proxy
What is the way to use Dpar pubsub and connect to a Apache Pulsar proxy instead to a topic directly?
0
votes
1
answer
354
views
Dapr: Azure Service Bus receiving messages not working
I've set up an OrderService (ASP.NET Core Web API) application, which needs to listen to messages published on the Azure Service Bus Topic by receiving them. I can successfully send messages to the ...
0
votes
0
answers
105
views
How to propagate trace context with Dapr PubSub RabbitMq
I have two services talking to each other through RabbitMq.
Service A publishes messages directly to RabbitMq and Service B uses Dapr with the RabbitMq pubsub component.
Both services are instrumented ...
1
vote
1
answer
343
views
Can I use Istio along with Dapr?
Istio is widely used for mesh control, to control fine grained traffics and to utilize kubernetes.
Dapr is good for cross-service interactions, helping with distributed orchistration.
How can I ...
0
votes
1
answer
107
views
POST request body is an empty string during service invocation between Dapr sidecars
I have deployed two services on Container Apps, both setup using Fastify, both with Dapr enabled.
I cannot seem to get the POST requests between the two services working. If Service A make a POST ...
-1
votes
1
answer
301
views
Retry Policy to Not Trigger For POST Requests
Is it possible to configure the resiliency policy in Dapr to not perform a retry when the HTTP request is POST? The Polly library in .NET, for example, allows fine-grained configuration of retry and ...
1
vote
1
answer
209
views
Publish message to Kafka topic (KRaft) with Dapr C#
I'm new to Dapr as well as Kafka. I want to implement Dapr with Kafka(KRaft) for my .NET 8 desktop app. I'm working on POC, there I'm facing issue:
'Dapr.DaprException: 'Publish operation failed: the ...
2
votes
2
answers
439
views
DAPR - Regarding custom middleware to setup in the pipeline and how to create and register it
Please let me know how to create the dapr custom middleware in c#
how to register it.
And how to configure it in a microservice to use it.
Please let me know in detailed steps as I have been ...
0
votes
0
answers
225
views
DAPR and CosmosDb
Trying to do insert to CosmosDb using DaprClient. Below is code
[HttpPost("saveData")]
public async Task<ActionResult<string>> SaveData([FromBody] InputMessage message, [...
1
vote
0
answers
143
views
Passing HTTP fields for Dapr pub/sub Redis
I'm trying to pass a header (Idempotency-Key) between Dapr services. It seems that these fields are not delivered on the subscriber side.
Alternatively, metadata are only restricted to a few fields.
...
0
votes
1
answer
140
views
Using DaprServer to expose endpoints from NestJs Webapp
DaprServer allows to expose http api endpoints defined in an express middleware instance.
In a NestJs app, it is possible to get the application's internal express middleware instance and pass it to ...
0
votes
0
answers
216
views
Create a middleware to add metadata to all outgoing DAPR messages
I would like to add a correlationId as metadata to all my outgoing DAPR messages in C#. I have created a middleware that I get CorrelationId from every time and then assign it to all outgoing Http ...
1
vote
0
answers
523
views
How to subscribe/consume multiple topics from multiple subscriptions declaratively with Dapr pub/sub component?
I have asked a similar question about how to do so programmatically with Dapr pub/sub component.
Dapr doc shows how to define a topic from a subscription, with its corresponding route declaratively in ...
0
votes
1
answer
116
views
SpringBoot + DAPR + Solace (username, password) not working
#1
Solace PubSub Standard ran via Docker.
SpringBoot app has a REST endpoint that calls DaprClient to publish event. Ran dapr run without any errors.
Invoked the REST endpoint. No errors. However, the ...
0
votes
1
answer
781
views
DAPR Error when running from a method in c# console application
I am seeing a weird scenario while using DAPR in c# console application. I have create a console app and running as a cron job in Kubernetes. The code is supposed to publish a message to Azure ...
0
votes
1
answer
376
views
AKS Dapr rabbitMQ component - Daprd Sidecar not running
I have rabbitMQ running on http://xyzip:5672 and credentials sampleusername, samplepassword, created the rabbitMQ component yaml file created.
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
...
0
votes
1
answer
185
views
Actor Azure dapr container app with Account storage account table not working
I configured Azure storage table for Actor statestore with below metadata value "name: actorStateStore" value: "true" , but getting the below error
Failed,Dapr.DaprApiException: ...
0
votes
1
answer
167
views
How to handle Java 8 date/time serialization with Dapr's Java SDK
I'm currently developing a Spring Boot application using Dapr's Java SDK version 1.9.0. I'm encountering a serialization issue when I try to publish an event that contains a java.time.Instant object.
...