These are chat archives for akkadotnet/akka.net

4th
Dec 2017
Hyungho Ko
@hhko
Dec 04 2017 07:47
Akka.Remote.TestKit_error.png
I have a problem while installing Akka.Remote.TestKit.
Hyungho Ko
@hhko
Dec 04 2017 08:01
image.png
Akka.Remote.TestKit is .NET 4.5.2
I know that all of Akka.NET packages support .NET 4.5.
Vagif Abilov
@object
Dec 04 2017 09:06
Good morning. I am checking whether it's possible to configure an application so the code that spawns actors using cluster sharding API (or just cluster API) will fallback to a local actor provider. So there will be no gossip sent, no communication with Lighthouse etc. But all cluster API calls spawning actors will simply create local actor instances. Is this possible to configure?
Diego Liñan
@diegolinan
Dec 04 2017 11:13
Hi, anybody having issues with snapshots on mongo db? I can save and retrieve events just fine. Snapshots get saved, but I get a weird error when retrieving from the snapshot offer. I opened an issue in github but so far no news. (AkkaNetContrib/Akka.Persistence.MongoDB#32)
Jack Wild
@jackowild
Dec 04 2017 12:19
@diegolinan what version of Akka.Persistence are you on? The 1.3.2 upgrade hasn't been put on nuget yet so you need to be on the 1.1 beta
Diego Liñan
@diegolinan
Dec 04 2017 12:29
@jackowild I'm on 1.3.2... But you are wrong about the nuget... Latest stable IS 1.3.2. Should I roll back? Maybe @Aaronontheweb can shed some light on this
Jack Wild
@jackowild
Dec 04 2017 12:30
Sorry, i meant the 1.3.2 version of Akka.Persistence.MongoDb isn't on nuget
Diego Liñan
@diegolinan
Dec 04 2017 12:34
@jackowild The MongoDB nuget is indeed 1.1.0.3-beta working on Akka.Persistence 1.3.2. should I downgrade Akka.Persistence?
Jack Wild
@jackowild
Dec 04 2017 12:34
So yeah, rollback Akka.Persistence to 1.1.3.32-beta
Diego Liñan
@diegolinan
Dec 04 2017 12:34
@jackowild I'll give it a try and let you know
Aaron Stannard
@Aaronontheweb
Dec 04 2017 14:45
Why doesn't. Akka use rx.net schedulers
because there's no reason to
and in general, if you're building a framework you aim for the fewest number of external dependencies possible because each one is a risk for diamond dependency type issues
@hhko might have been a reason we did that related to XUnit no longer supporting .NET 4.5
can't remember offhand
is that blocking you from being able to test your application?
Diego Liñan
@diegolinan
Dec 04 2017 14:47
@jackowild Worked! Hope we get full integration with a newer version of Akka.persistence...
Jack Wild
@jackowild
Dec 04 2017 14:57
@diegolinan the work has been done for this. The code is in the dev branch already. @Aaronontheweb could we publish to nuget?
Aaron Stannard
@Aaronontheweb
Dec 04 2017 15:10
yeah nothing really stopping us other than CI
the way we had it designed before
was the CI system used Mongo2Go to dynamically spin up a stand-alone MongoDb instance
I'd insist on adding something like that back
Diego Liñan
@diegolinan
Dec 04 2017 15:15
@Aaronontheweb , @jackowild I'll be waiting for it. Working with the old version in the meantime
Jack Wild
@jackowild
Dec 04 2017 15:33
@Aaronontheweb ok, well the test project still uses Mongo2Go. However I don't know how the CI system works. Happy to do the work but would need some guidance from you/someone else.
Lutando Ngqakaza
@Lutando
Dec 04 2017 15:56
Hi. Got a high level question WRT actor design. Lets say im using my actor system to handle all my business domain requirements. I have Actors which represent the aggregates and so on. What sort of pattern can I apply using akka to do cross aggregate/domain coordination. I think I wanna achieve something like http://docs.geteventflow.net/Sagas.html in Akka.
Lutando Ngqakaza
@Lutando
Dec 04 2017 16:13
if anyone uses any other patterns let me know :)
Aaron Stannard
@Aaronontheweb
Dec 04 2017 16:29
@jackowild I'll be able to re-jigger it on the CI system next week; if I can do it sooner, I will, but stuck on a bunch of EOY deadlines I need to have finished before I step on a plane at the end of this week :p
Diego Liñan
@diegolinan
Dec 04 2017 16:29
@Aaronontheweb bummer... :D
Jack Starke
@jackstarke
Dec 04 2017 22:42
I have a web service that has the state that I would like my Actors to spin up with, I am using the PreStart to get the data using a Task then I'm PipeTo(Self) , I have not see any examples of this so I just looking for validation or that I completely doing it wrong . Any help would be most appreciated.
 GetProductTypesAsync(Name, Number).ContinueWith(tr =>
            {
                ProductType[] pr = null;
                if (tr.IsCompleted)
                {
                    pr = tr.Result;
                }
                return new GetProductTypes(Name, Number, pr);
            }, TaskContinuationOptions.AttachedToParent & TaskContinuationOptions.ExecuteSynchronously).PipeTo(Self);