These are chat archives for akkadotnet/akka.net

25th
Aug 2018
Vasily Kirichenko
@vasily-kirichenko
Aug 25 2018 06:03
@haighis I have no doubt you should use Akka Streams for this task.
It gives you tune the pipeline any way you want (backpressure, buffering, throttling, retrying, degree of parallelism, calling async APIs inside map, etc, etc)
Ebere Abanonu
@eaba
Aug 25 2018 10:23
Hi @Aaronontheweb I like that you mentioned handling authentication within an Actor. Can you kindly come up with a sample for that use case to better help my mental-mapping? The last time I raised the await topic, @Horusiath directed me towards ReceiveAsync. Does this work with all you have been saying?
John Haigh
@haighis
Aug 25 2018 12:30
@eaba Akka bootcamp has a sample for authentication https://github.com/petabridge/akka-bootcamp/tree/master/src/Unit-2/lesson4
John Haigh
@haighis
Aug 25 2018 12:39

@vasily-kirichenko Thanks. I will take a look. I was thinking something a little more simple like having an actor hierarchy
Coordinator Actor - top level
SomeEntityActor - next level down
CallWebServiceActor - next level down
SendEmailActor - next level down

It's not reusable or generic but it does model the problem domain.

Lutando Ngqakaza
@Lutando
Aug 25 2018 13:30
is it "safe" to naively send IActorRefs in message payloads in a clustered scenario?
Bartosz Sypytkowski
@Horusiath
Aug 25 2018 13:36
@Lutando you can use IActorRef just like any normal field type inside your message. No extra magic is needed.
Lutando Ngqakaza
@Lutando
Aug 25 2018 13:40
alright, even if i have my own defined serializer for that particular message type
Ebere Abanonu
@eaba
Aug 25 2018 14:42
@haighis hat off!!
Boban
@bobanco
Aug 25 2018 16:11
Hi Guys, there is problem with the dependencies in the last version
       warning NU1603: Akka.Cluster.Sharding 1.3.9-beta68 depends on Akka.Persistence (>= 1.3.9-beta68) but Akka.Persistence 1.3.9-beta68 was not found. An approximate best match of Akka.Persistence 1.3.9 was resolved.
`
Aaron Stannard
@Aaronontheweb
Aug 25 2018 16:11
bleh
yeah that's an issue
let me see if I can get to the bottom of that real fast
Boban
@bobanco
Aug 25 2018 16:12
@Aaronontheweb thanks mate
Aaron Stannard
@Aaronontheweb
Aug 25 2018 16:12
looks like whatever we're doing in our build script right there
is wrong
it's referencing betas for everything
Boban
@bobanco
Aug 25 2018 16:18
let me also crosscheck that
Aaron Stannard
@Aaronontheweb
Aug 25 2018 16:23
I think it's a bit of a leftover from what we used to do before using the .NET Core tooling
we're passing in the VersionSuffix CLI argument
and it looks like that's being run as an "all or nothing" affair
for each of the dependent projects
whereas we can fix this issue by just editing the .CSPROJ files
Aaron Stannard
@Aaronontheweb
Aug 25 2018 16:28
ok, think I may have fixed it
going to take a look at the NuGet output locally and double check
Boban
@bobanco
Aug 25 2018 16:33
sure, thanks @Aaronontheweb
John Haigh
@haighis
Aug 25 2018 17:00
is there a quick way to output the entire actor hierarchy so I can see all the actor paths to make easy to figure out actor selection?
actor hierarchy
also works for over the network too
John Haigh
@haighis
Aug 25 2018 17:02
@Aaronontheweb thanks.
Aaron Stannard
@Aaronontheweb
Aug 25 2018 17:04
that should do it
just going to double check the nightly package output locally here first
and then I'll publish a corrected version of our v1.3.9 beta packages
ok, local packages look good
nightly packages all depend on the appropriate betas
release packages do not
Boban
@bobanco
Aug 25 2018 17:07
@Aaronontheweb great, thank you!
Aaron Stannard
@Aaronontheweb
Aug 25 2018 17:07
you're welcome
sorry for not noticing it sooner
apparently we've been doing this for a while
Boban
@bobanco
Aug 25 2018 17:08
no problem, it happens..i was migrating some of my existing microservices to .net core and wanted the latest akka version so i caught it :)
some of the persistence plugin needs to be updated too, on example am using postgresql and it still on v1.3.8
or persistent plugins are not released in the same cycle?
Aaron Stannard
@Aaronontheweb
Aug 25 2018 17:11
we kind of stagger those out
so for instance, we need to update Akka.Persistence.Sql
and someone has a couple of PRs into PostgreSql
Boban
@bobanco
Aug 25 2018 17:12
oh i see
Aaron Stannard
@Aaronontheweb
Aug 25 2018 17:12