Thanks, I think I've forgot README file with API description there :P
Examples are enough ;-)
is there a way to query an actors mail box for a specific message type?
Is there anything that allows me to deal with limited resources in akka.net? Eg i would like to build something like a queue of items that one agent manages and that agent dispatches jobs to ogher agents.
But i want to limt on how many of these jobs can run, with the number of agents that are connected.
@Aaronontheweb can I use ConsistentHashing to prevent messages from going to multiple actors in a pool router if i dont want to allow multiple actors runnning the same job type?
@all I've got an actor that currently uses switchable behaviors, but there's now like 8 of them, is it worth converting this to an fsm? Are there any fsm examples?
Is Akka.Net supported on Android/ios platforms?
We will add NetStandard1.6 support in 1.5, it will be possible to run it on Xamarin
and because u use NetStandard also Windows Linux and OSX?
Thanks Alex. Do you have a timeline for 1.5 release?
Hi. Can anybody please tell me how I can get rid of the repeating "Akka.Cluster.GossipStatus" log message when I start the actorsystem?
@alexvaluyskiy@DaveArkley I think it may run through Mono
@b0urb4k1 this sounds like a standard router pattern
Behause this Repeating message is annoying and useless for my log file and I don't know how to shut it off.
@ollivogel have you tried? this should mute info logging of cluster events
log-info = off
@sean-gilliam already tried this guy. However, without success.
@sean-gilliam retried this setting. Seems to work. Maybe I did something wrong the first time. Thx.
@Aaronontheweb Any plans to update WebCrawler docs to have a explanation of what's now going on with the change to Streams... things are different than what is described in the ReadMe
Whats the best way to have an actor that periodically polls a resource until something interesting happens?
would I do it by ... Poll -> Sleep -> Self Message to Poll again
@keithn maybe not sleep, but simple Context.System.Scheduler.ScheduleTellRepeatedlyCancellable(initialDelay, interval, Self, Message, Self) should do the job
so akka streams
would they be good for having connections sending a bunch of raw data as fast as they can
do I have to have something running full framework connecting to streams?
or could I have a socket from other origins conenct to an endpoint that feeds a gob of data into akka.net streams
(thinking devices that dont run .net)
are there any examples that I can compile and run for akka.io
I saw documentation that showed how to utilize it to some degree
but its def not compilable code
brain fart on my part
I've got more questions regarding .io and streams
Akka streams can certainly be used in combination with akka.io. But afaik there is no OOB sink/source for akka.io atm
@ronnyek should be do-able though
Does anyone happen to know of any good examples for unit testing snapshot recovery in an actor? I am trying to write some tests around a persistent actor and the actor will restart, but it seems like recover is never being called. I've also tried putting breakpoints in the SaveSnapshotSuccess and SaveSnapshotFailure message handlers and they are never called during the test. PreRestart and PostRestart are being called in the actor under test, the pieces of state that are set in the constuctor are setup properly after restart, but no snapshot info seems to make it through. Do I need to initialize the actor with some HOCON to be able to save snapshots?
Never unit tested snapshot recovery in a custom actor. And even then. I'd test the end result and not the mechanism itself. Persistence itself has pretty extensive unit tests in the akka core repo.
but other then that
if you want to run persistence inside a unit test, normal configuration stuff applies
so you will need to load persistence configuration through hocon
otherwise defaults will apply, which is in-memory for eventsourced storage, and i think for snapshots as well, but im not sure
@Danthar That is what I was expecting. I am using snapshots, and that does not appear to work. Maybe I will try convert over to eventsource to see if that works. At least then I know it has to do with snapshots, and not persistence in general.
@Danthar And thanks for the quick reply! :)
Try to work out an example and get that working first