by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 02 17:14
    Arkatufus synchronize #4443
  • Jun 02 16:59
    Arkatufus synchronize #4443
  • Jun 02 16:57
    Arkatufus synchronize #4443
  • Jun 02 15:30
    Arkatufus synchronize #4448
  • Jun 02 15:28
    Arkatufus synchronize #4448
  • Jun 02 15:26
    Arkatufus synchronize #4448
  • Jun 02 15:10
    Arkatufus synchronize #4443
  • Jun 02 14:43
    dependabot-preview[bot] edited #4445
  • Jun 02 14:41
    dependabot-preview[bot] edited #4445
  • Jun 02 14:41
    Aaronontheweb commented #4445
  • Jun 02 10:40
    Arkatufus edited #4443
  • Jun 02 07:33
    mralexes commented #4434
  • Jun 02 07:21
    Ralf1108 commented #4432
  • Jun 02 06:54
    thomaslazar opened #4449
  • Jun 01 18:35
    Arkatufus edited #4436
  • Jun 01 18:35
    Arkatufus opened #4448
  • Jun 01 17:12
    Arkatufus synchronize #4443
  • Jun 01 17:12
    Arkatufus synchronize #4443
  • Jun 01 08:32
    petrikero edited #4447
  • Jun 01 08:25
    petrikero opened #4447
Aaron Stannard
@Aaronontheweb
and rollbacks too, I might add
I just assumed that this was a commonplace thing
but judging by what I can find on Google, that assumption might be off
have any of you heard of this technique before?
Chris Martin
@trbngr
@Aaronontheweb Can you look this over for me and tell me how to proceed? https://gist.github.com/trbngr/46dea593e2e180d3bf8e#file-gistfile1-txt-L29
Aaron Stannard
@Aaronontheweb
@trbngr there's no IActorContext available there?
Chris Martin
@trbngr
nope
Aaron Stannard
@Aaronontheweb
which version of Akka.Persistence is this plugin using?
Chris Martin
@trbngr
103 I believe
1.0.3.0-beta
Aaron Stannard
@Aaronontheweb
ok, so it's the latest then
Chris Martin
@trbngr
Not a super huge deal. I'm just trying to avoid the constant polling of the persistence journal.
and use the ES subscirptions
Aaron Stannard
@Aaronontheweb
the PersistentView is getting replaced is it not cc @Horusiath
so how does EventAppeard get called?
Aaron Stannard
@Aaronontheweb
do you really care about the Sender in this case?
because that's what is throwing
you could try passing in ActorRefs.NoSender
for the sender on that tell
and that should work
Chris Martin
@trbngr
oh yeah. lemme try that
HO LEE FUK! It lives! :P
Thanks so much, dude
Aaron Stannard
@Aaronontheweb
anytime
Sender, Self, Parent all use Context
Chris Martin
@trbngr
Right on
Aaron Stannard
@Aaronontheweb
and Context is bound the to ExecutionContext of the actor
so you can't really access Context in an async call or Continuation
can only be called inside the Receive methods
Chris Martin
@trbngr
So I don't need to capture _self? I can just use Self. Noted
Aaron Stannard
@Aaronontheweb
no
you do need to capture Self
because that's part of the context too :p
Chris Martin
@trbngr
well crap. haha
Am I right to capture it in PreStart?
Aaron Stannard
@Aaronontheweb
yeah
the Context is active there
Chris Martin
@trbngr
nice. This is pretty bad ass
Aaron Stannard
@Aaronontheweb
basically anything inside the actor is safe
it's when you start trying to use the Context outside of the actor's running scope where things get weird
Chris Martin
@trbngr
cool
Chris Martin
@trbngr
Optimized Akka.Persistence.EventStore. It will now use only one IEventStoreConnection per the ES docs. I also add an implementation of PersistentView called EventStoreSubscriptionView that uses an EventStoreSubscription to stay up to date instead of an PersistentView.AutoUpdateInterval
Still no tests, however ;)
Chris Martin
@trbngr
Is there a way to grab a ILoggingAdapter from an ActorSystem? I need one pretty early
:blush: system.Log
Thomas Lazar
@thomaslazar
@Aaronontheweb: i know apache thrift employs or better recommends an extend-only design of their interfaces. to make it backwards compatible to an extend
they have numbered fields in their definitions that you're not supposed to change on edit. and just extend with new numbers
varghesep
@varghesep
I don't normally get any response for the questions that I post here. They get lost in this chat. So I posted some code on Stack Overflow at http://stackoverflow.com/questions/30956153/service-fabric-akka-net-and-persistent-actor-integration
Please share your comments, improvements needed so everyone can learn from it. The example has the integration of Service Fabric, AKKA.NET and Persistence.