Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Young Bu Park
    @youngbupark
    @msfussell created the dapr/dapr#793 to support helm 3.0
    Artur Souza
    @artursouza
    @youngbupark Thanks.
    Artur Souza
    @artursouza
    I noticed that the hello-world documentation needs to be updated to mirror the latest version of the code. I plan to do that tomorrow. Should I also take care of dapr/samples#18 in the same change since the sample 2 has similar error handling issues as sample 1 had?
    Mark Fussell
    @msfussell
    @artursouza . Yes, please do dapr/samples#18 to make both of them consistent. That would be great! These were different since originally service-invocation was not in the standalone deployment.
    Artur Souza
    @artursouza
    @msfussell I honestly like the fact that 1.hello-world is simpler. But I see value in consistency. BTW, I have a PR out to update the 1.hello-world doc and decided to do dapr/samples#18 as a separate PR since the update for 1 must go out sooner IMO.
    Srini Vasudevan
    @srini85
    @youngbupark thanks for your detailed response. I think I got the information I need for now to do more exploration
    creasewp
    @creasewp
    Anyone know of an example of service invocation using gRPC instead of HTTP? I did find some info here (https://github.com/RicardoNiepel/dapr-docs/tree/master/howto/create-grpc-app) but only shows SaveState.
    Yaron Schneider
    @yaron2
    @creasewp every Dapr SDK has an example in it, showing how to do service invocation for the respective SDK. Here's the one for Go: https://github.com/dapr/go-sdk/blob/4a07ef5958340c858ed8ab2e62d690f338bfd5b5/example/caller/main.go#L28
    Artur Souza
    @artursouza
    Once approved, I need permission to upload the new docker images for sample 2.
    Dmitry Gurdzhi
    @dimidevk

    Greetings, maybe someone can make use of a small dapr grpc example, we've made, using spring boot and pub/sub - publisher, subscriber

    @creasewp this could also be interesting

    creasewp
    @creasewp
    @yaron2 - thanks... unfortunately, I am trying to use the dotnet SDK - and the grpc example has everything except service invocation: https://github.com/dapr/dotnet-sdk/tree/master/samples. Trying to follow the go example, it looks like the url should be '\localhost:{grpcPort}' and the InvokeEnvelope has an 'Id' property that I'm guessing helps route to the remote service? The dotnet SDK does not have an 'Id' property - but perhaps it doesn't need one? thus the hope of finding a working example :)
    Xorpio
    @Xorpio
    Hello. I'm loving Dapr but i'm strugeling to run multiple apps on my local machine with dapr run command
    Is it possible or do i have to use kubernetes ?
    darthkurak
    @darthkurak
    Hello. How we can get secrets from Dapr inside service? There is some API for getting given secrets? In case of c# - is there any .net core 3.0 configuration implementation for this secrets?
    Artur Souza
    @artursouza
    @Xorpio I did have two services running yesterday. I have a new updated version of 1.hello-world to be merged soon. https://github.com/artursouza/samples/tree/merge-sample-1-and-2/1.hello-world
    Xorpio
    @Xorpio
    @artursouza Oh wonderfull. i was trying to start the second app with the param port also.
    Got it working now. many thanks.
    Xorpio
    @Xorpio
    How would you keep track of all created actors? is there a way to query dapr to get a list of all stored actors for example?
    Mark Fussell
    @msfussell
    @Xorpio There is no ability currently to query a list of running actors. This is open as a feature request dapr/dapr#25 The best you can do right now is query the actor state store, but that is not ideal
    Xorpio
    @Xorpio
    Well not ideal but i made a service that i can query. Actors use pub/sub to notify the service there existing
    stather
    @stather
    Would an Azure storage queue component be a useful addition?
    Dominik Tornow
    @dtornow
    @msfussell "Running Actor" isn't that in itself difficult? Virtual actors "always exist". And one instance can handle multiple actors. So strictly speaking, an actor is always running or only running while actively handling one request, no?
    Nkosinathi Sangweni
    @malotho

    @malotho
    Having deployed to AKS an actor like below.
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: demoactorapp
    labels:
    app: demoactor
    spec:
    replicas: 1
    selector:
    matchLabels:
    app: demoactor
    template:
    metadata:
    labels:
    app: demoactor
    annotations:
    dapr.io/enabled: "true"
    dapr.io/id: "demoactor"
    dapr.io/port: "3006"
    spec:
    containers:

      - name: demoactorapp
        image: myacr.azurecr.io/dev:4968
        ports:
        - containerPort: 3006
        imagePullPolicy: Always

    How do I contrust a URL to call this actor?
    http://mydnshere.westeurope.cloudapp.azure.com/v1.0/actors/demoactorapp/demoactor/method/GetData
    I am currently using the above URL without success
    {
    "errorCode": "ERR_INVOKE_ACTOR",
    "message": "error finding address for actor type demoactorapp with id demoactor"
    }

    João Victor Santos
    @devictorsilva
    Hi everybody, does anyone has a concrete example of implementing DAPR with CQRS ( structure of project, general ideas , pratical example ... ) ?
    Mark Fussell
    @msfussell
    @malotho actors can only be called inside the AKS cluster, so you need a container with an external service ( an endpoint openedthrough the Azure Load balancer) which then calls the actor URL
    Nkosinathi Sangweni
    @malotho
    @msfussell got it.
    Olivier
    @olileger
    @msfussell quick question about the "sidecar" architecture of Dapr.
    Since Dapr is running close the app either as a process or within a Pod, how should we deal when thinking about a crash (or service being unresponsive or...) of the Dapr service itself ? Should we implement CQRS within the app for every Dapr API we plan to use ?
    stather
    @stather
    == DAPR == time="2019-11-28T22:09:18+02:00" level=debug msg="error establishing client to placement service: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:6050: connectex: No connection could be made because the target machine actively refused it.\""
    Always getting the error above when starting an actor with dotnetsdk. Any ideas why this would be happening?
    running in minikube
    dapr 0.2.0
    Prafulla Anurag
    @anuragprafulla
    I am looking for an issue to work upon in components-contrib or dapr. Just completed the PR with the cloudkms integration. Looking for some suggestions to pick up something next. @yaron2 , @youngbupark
    paulgyro
    @paulgyro
    Good day all! Just getting my feet wet in Dapr. One of the futures listed for Dapr is "Runs anywhere, as a process or containerized". In all the sample Docker is listed as a requirement. How can one run Dapr outside of a container then?
    Yaron Schneider
    @yaron2
    @creasewp can you please open an issue on the Dotnet SDK and we can walk through it there?
    @darthkurak Dapr currently supports secrets for its different components (see this ). Would you like to see application level secrets abstractions with Dapr?
    @paulgyro Docker is required locally to run the state store (Redis by default). Dapr itself runs as a process, as you can see in the sample here
    Yaron Schneider
    @yaron2
    @stather can you open an issue for that so we can give it the proper attention? thanks!
    Yaron Schneider
    @yaron2
    @olileger while Dapr is designed to be a zero-fault process (you can expect unresponsiveness but not crashes), it is still advised to treat it's APIs like any other, or when working with a service mesh sidecar, and retry on failures. The different Dapr SDKs will eventually have those built in on the client side.
    @devictorsilva CQRS is an interesting pattern that fits well with Dapr. I've opened dapr/docs#267 for us to provide examples and/or samples for it.
    paulgyro
    @paulgyro
    @yaron2 Thanks for that. I think I'll work on a sample that can run completely stand to allow devs to quickly get to "Hello World" with Dapr.
    paulgyro
    @paulgyro
    @yaron2 Sorry circle around on this again but when trying to perform a "dapr init" without Docker Desktop installed results in a "Could not connect to Docker." message. Unless I'm missing something it seems Dapr requires containers to work on Windows.
    Yaron Schneider
    @yaron2
    @paulgyro Docker Desktop needs to run in Linux Containers mode
    Chaotang Sun
    @sunisdown
    Hi team, I learned from README that dapr can help to build stateful microservices and I would like to build a distributed in-memory database based on dapr, Is there and samples that show how to build a stateful microservices based on dapr?
    Artur Souza
    @artursouza
    Proposal for decoupling Dapr's callback API from app's main API: dapr/dapr#867
    Artur Souza
    @artursouza
    I closed the proposal. It is possible to decouple the APIs today. It was not clear by going to the examples, though.
    Question about minimum Java version to be supported: dapr/java-sdk#17
    Sidney
    @F-Sidney
    Hello, I'm new on dapr, when use "dapr list", we can see that an app have 3 ports "HTTP PORT", "GRPC PORT", "APP PORT",can someone please tell me what those ports differences?
    Yaron Schneider
    @yaron2
    @F-Sidney httpport is the port for Dapr for http, grpcport is the port for Dapr for gRPC, and appport is the port the user app is listening on.
    Mark Fussell
    @msfussell
    @F-Sidney These ports map to the same values that you use in the dapr "run" command when you launch your app, if you are running this on your local machine