Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 28 19:19
    Arkatufus synchronize #6026
  • Jun 28 19:18
    dependabot[bot] synchronize #6020
  • Jun 28 19:18
    dependabot[bot] synchronize #5951
  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump PublicApiGenerator from 9.… (compare)

  • Jun 28 19:18
    dependabot[bot] synchronize #5998
  • Jun 28 19:18
    dependabot[bot] edited #6020
  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump FluentAssertions from 5.10… (compare)

  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump Fsharp.Core from 6.0.1 to … (compare)

  • Jun 28 19:18
    dependabot[bot] edited #5951
  • Jun 28 19:18
    dependabot[bot] synchronize #5859
  • Jun 28 19:18
    dependabot[bot] edited #5998
  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump NUnit from 3.7.1 to 3.13.3… (compare)

  • Jun 28 19:18
    dependabot[bot] synchronize #5366
  • Jun 28 19:18
    dependabot[bot] edited #5859
  • Jun 28 19:18
    dependabot[bot] synchronize #5370
  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump System.Configuration.Confi… (compare)

  • Jun 28 19:18

    dependabot[bot] on nuget

    Bump System.Collections.Immutab… (compare)

  • Jun 28 19:18
    dependabot[bot] edited #5366
  • Jun 28 19:18
    dependabot[bot] edited #5370
  • Jun 28 19:18
    dependabot[bot] synchronize #5605
Andreas Dirnberger
@Zetanova
of course the PaymentCreditor could do it to, but i would need to reduce the PaymentProcessCommands.Credit to AccountId-GUID
If i am sending the accountIdentity to the creditor before the credit command to set up the state, i would need to remove the account field of the credit command
Andreas Dirnberger
@Zetanova
Soem like a jumbo command generator pattern or actor initialize message pattern is missing me
Hyungho Ko
@hhko
Hi. @Horusiath Akka.NET 1.0.7 supports SupervisorStrategyConfigurator class for user guardian.
this is sample hocon.
      akka {
        actor {
          guardian-supervisor-strategy = "UserSupervisorExample.UserSupervisorStrategy"
        }
      }

namespace UserSupervisorExample
{
public class UserSupervisorStrategy : SupervisorStrategyConfigurator
{
public UserSupervisorStrategy()
{

    }

    public override SupervisorStrategy Create()
    {
        return new OneForOneStrategy((excep) =>
            {
                int x = 3;
                x = 6;

                return Directive.Restart;
            });
    }
}

}

however, Exception occurs in ActorSystem
Hyungho Ko
@hhko
blob
Marc Piechura
@marcpiechura
@hhko you need to provide the full qualified name, see the specs for an example
Hyungho Ko
@hhko
@Silv3rcircl3 thank you... I solve it. below
akka {
actor {
guardian-supervisor-strategy = "HelloWorldUserSupervisor.UserSupervisorStrategy, HelloWorldUserSupervisor"
}
}
i forget dll name. ^^;;
Andrea Balducci
@andreabalducci
@cconstantin @Horusiath if so I think JournalDbEngine (reference implementation) is buggy. should stop on first failure, now has a ContinueWhenAll so the stream can be corrupted rather than incomplete
Bartosz Sypytkowski
@Horusiath
@andreabalducci can you set an issue for that with some description?
Andrea Balducci
@andreabalducci
@Horusiath #1883 , I'm new to akka.net but have some background on EventSourcing / stream persistence. thank you for you help
Thomas Lazar
@thomaslazar
anyone got anything on my problem? i have a remote actor that i send a message to via a client. and as soon as that remote actor does anything that generates an exception that gets caught and handled in the remote actor the connection gets disassociated and the thing basically dies. what am i doing wrong here?
Bartosz Sypytkowski
@Horusiath
@thomaslazar can you provide some stack trace? It's unusual for random exception to cause disassociation
Thomas Lazar
@thomaslazar
cannot get any kind of relevant stacktrace. only what the log shows with the disassociation messages.
i will build a test solution and try if i get the same error there and if i do i'll up it on github
Bartosz Sypytkowski
@Horusiath
I know that the issue sometimes arises, when you have errors while trying to serialize/deserialize message
Andreas Dirnberger
@Zetanova
@Horusiath For the snapsot generation algo. there is beside event-count an other possibility. When each event has a timestamp and it is assumed that the application is pushing constantly events to the event-stream, then it is highly plausible that events in a short time frame are loaded faster then events over an longer timeframe. If the the events are over a long period >24h not snapshotted it can be done, even with only 2 events.
Thomas Lazar
@thomaslazar
@Horusiath it happens after i caught the exception. in the exception handler i basically just put that exception into a message and send it off to the sender and then exit the processing. and after the receive handler is left the connection dies.
but as i said i'll try to make a test program that "hopefully" has the same problem
Arjen Smits
@Danthar
You passing along a custom Exception class ? Could it be your Exception type is not serializable ?
Thomas Lazar
@thomaslazar
yeah. but nothing that shouldn't work. and in fact in not akka.remote tests it's working just fine.
Bartosz Sypytkowski
@Horusiath
@thomaslazar the more it points to serialization issue
Thomas Lazar
@thomaslazar
and i specifically have tests written that trigger said exceptions and the message returns just fine
and one exception that gets passed back is a TargetParameterCountException
and that doesn't work either
Thomas Lazar
@thomaslazar
ok guys. you were absolutely right. was a serialization issue.
switching to wire in my testsolution fixed the problem.
and i am stoopid as usual. was all there. nice and clean in the log file... stuff just didn't got output to the stdout
Arjen Smits
@Danthar
heh. No problem. It happens.
Kris Schepers
@schepersk

Question: I've got a sharded entity actor. It creates a child actor to perform some duty. When this child gets stopped by the entity actor, the following log entry appears:

Akka.Actor.LocalActorRef: Message DeathWatchNotification from akka://bm2cluster/user/sharding/LoonbonVerwerking/3/d8c52c1e-4843-4092-9cc4-43ec8f774737/lbvverrijking to akka://bm2cluster/user/sharding/LoonbonVerwerking/3/d8c52c1e-4843-4092-9cc4-43ec8f774737/lbvverrijking was not delivered. 5 dead letters encountered.

Before implementing sharding, this message didn't get logged.. Any idea's?

kariem-ali
@kariem-ali
Hi Guys. It seems that soft delete was removed form akka.persistence Eventsourced.DeleteMessages in 1.0.7. Is there any alternative?
Kris Schepers
@schepersk
The problem above only occurs when a child actor of the entity actor creates a child actor of its own. Maybe that can help?
Chris G. Stevens
@cgstevens
@Aaronontheweb Thanks! I will take a look today. I got pulled off my project for a couple of months and now I am back on it.
I see I need to catch up on Cluster.Tools and the Persistence. I am still having cluster issues where if I deploy my Web Apps things get wonky...
Bad thing is that my web apps are my monitoring tools hence the reason for the need for Cluster Tools.
Kris Schepers
@schepersk
And when I manually stop this child of the child, the DeathWatchNotification log doesn't appear.. Is this common practice?
Chris G. Stevens
@cgstevens
Not sure if anyone goes to www.CodeStock.org in Knoxville but this July I submitted my 1 hour talk.
Plan on doing a similar talk like at the Akka.Net Virtual Meetup and now I want to dive deeper into the details about Akka.Net.
So if you want to take a minute and go vote that would be awesome and thank you!
http://my.codestock.org/#/app/sessionlisting/user/6477
Hyungho Ko
@hhko
Hi... Could you introduce same good examples for FSM class
Bartosz Sypytkowski
@Horusiath
@schepersk from your log it seems that entity's child was trying to send some message to itself. Maybe you're using scheduler at some point and didn't cancelled a scheduled message?
Kris Schepers
@schepersk
@Horusiath I think it was the grandchild trying to send a message to the child notifying it of terminating. But the child wasn't alive anymore because of being stopped by the entity..
Bartosz Sypytkowski
@Horusiath
@schepersk in case of hierarchical termination chains you may see some dead notifications not delivered (same scenario with actor system shutdown) - this is just a nature of the async communication
Kris Schepers
@schepersk
@Horusiath Indeed, I figured as much..
@Horusiath About the sharding persistence.. Can the journal and snapshot data be deleted at some point?
Bartosz Sypytkowski
@Horusiath
yes, in few scenarios. Most likelly, when you have confirmed, that snapshot has been made for some persistent actor, you may delete all events and snapshots before that snapshot, and still be able to recover that actor.
Kris Schepers
@schepersk
I wasn't really referring to standard persistent actors. I would like to know if the events and snapshots generated by sharding can be deleted after some period of time?
Bartosz Sypytkowski
@Horusiath
yes, deleting snapshots and events is basically sending a message - you just need to know what values that message should have