Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 15:57
    Aaronontheweb closed #3877
  • 15:57
    Aaronontheweb commented #3877
  • 15:56

    Aaronontheweb on dev

    Persistence TestKit documentati… (compare)

  • 15:56
    Aaronontheweb closed #3889
  • 07:27
    dependabot-preview[bot] labeled #3999
  • 07:27

    dependabot-preview[bot] on nuget

    Bump FluentAssertions from 4.14… (compare)

  • 07:27
    dependabot-preview[bot] opened #3999
  • Oct 20 17:25
    valdisz synchronize #3889
  • Oct 20 17:17
    valdisz synchronize #3889
  • Oct 20 15:44
    valdisz synchronize #3889
  • Oct 20 09:22
    ismaelhamed commented #3863
  • Oct 19 23:39
    valdisz synchronize #3889
  • Oct 19 23:08
    edvinasz commented #2947
  • Oct 19 13:36
    Aaronontheweb commented #3973
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3995
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump BenchmarkDotNet from 0.10.… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] edited #3995
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3993
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Google.Protobuf from 3.9.1… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3991
Aaron Stannard
@Aaronontheweb
as for measuring the queue length of the mailbox - unfortunately there isn't a public API to access that :\
we'll be working on that when we do a more "holistic" solution for integrating monitoring directly into Akka.NET core
essentially we're going to have an engine in place, not too different from our logging engine, which will expose metrics and drains for collecting those sorts of metrics
that's a way's out for the time being though - no plans to start on that until some other big pieces of infrastructure (i.e. Akka.Cluster, TLS) are finished
JoeCoJabba
@joecojabba
Hey all, For long lived/single instance dependencies (in my case neo4jclient) what is the appropriate pattern for passing that dependency to an actor? Pass the instance to the constructor or factory method for use in PreRestart? Should PostRestart be overridden as not to call PreRestart again? I'm sure i found some succinct doco/examples somewhere, but for the life of me I can't find it. Many thanks!
Bobby
@bobbychopra
@Aaronontheweb thanks for that info
James Andrew-Smith
@james-andrewsmith
What's the best mechanism to limit requests on an external API without hitting their request limits (per account*)?
I have multiple API credentials each with their own limit.
Bartosz Sypytkowski
@Horusiath
@rogeralsing I know that you're working on Wire for fun / proof of concept - but I think, it's a good moment to talk with Typesafe guys about common way of message serialization between JVM/.NET specifically for the akka needs. I know that they have hard time using default Java serializer too.
Roger Johansson
@rogeralsing
Ok, I'll ping them :)
Emil Ingerslev
@emilingerslev
Been testing Akka.Cluster and have tried out not using seed nodes, but instead joining the cluster. It seems that a joined node will be connected to other nodes, but will it give me problems down the line?
Christian Palmstierna
@cpx86
@rogeralsing You may have a small PR for Wire now ;)
Roger Johansson
@rogeralsing
:+1:
Graeme Bradbury
@GraemeBradbury
I hacked out a quick script to make running multinodetests a little easier (basically an easy way to run a single dll)
hopefully usefull to people.
Ryan Davis
@rdavisau
:clap: !
Roger Johansson
@rogeralsing
:+1: I'd like to see that in the core repo, make a PR if you want
Suhas Chatekar
@schatekar
@GraemeBradbury Could you add an example to run a specific spec? I could never got that right
+1 for adding it in the core repo
Graeme Bradbury
@GraemeBradbury
@schatekar I haven't figured out how to run a specific spec yet. I think that'll need runner modification.
Suhas Chatekar
@schatekar
ok, I might take a look at that over the weekend then
when you ported a spec from scala, did you run all the specs to check whether newly ported spec works or not?
Graeme Bradbury
@GraemeBradbury
yeah i would run just the dll
It's ok at the moment since there are only 3 specs but it'll get irritating fast as more are added.
Roger Johansson
@rogeralsing
@cpx if you get bored, there are some new tasks added to the Wire repo :D
tstojecki
@tstojecki
how do you go about troubleshooting a persistence plugin, i have wired up an eventstore in hocon, but i get nothing, no errors, no data...
akka {
        loglevel = INFO,
        loggers = [
          "Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"
        ],
    persistence {
          eventstore-server {
            host = "127.0.0.1"
            tcp-port = 2113

            connection-factory = "Akka.Persistence.EventStore.DefaultConnectionFactory, Akka.Persistence.EventStore"
          }

          journal {
            eventstore {
              # qualified type name of the EventStore persistence journal actor
              class = "Akka.Persistence.EventStore.Journal.EventStoreJournal, Akka.Persistence.EventStore"

              # dispatcher used to drive journal actor
              plugin-dispatcher = "akka.actor.default-dispatcher"

              deserializer = "Akka.Persistence.EventStore.DefaultDeserializer, Akka.Persistence.EventStore"
            }
          }
    }
      }
i can see under ActorSystem.Settings.Config that the hocon settings are being picked up
is there a place where i can see what persistence plugins have been registered?
Suhas Chatekar
@schatekar
@GraemeBradbury isn't that what the -Dmultinode.test-spec switch is supposed to do?
Graeme Bradbury
@GraemeBradbury
@schatekar possibly, i hadn't noticed it. :-)
But it has given me an idea let me get back to you in a bit.
Suhas Chatekar
@schatekar
I have tried that switch, it expects fully qualified name of the spec. I entered different variations but none worked
foo bar code
@lepinay
trying to create a TraceLogger for akka, so far I've updated my config with: loggers = ["AkkaExtensions.TraceLogger, AkkaExtensions"], referenced the assembly where needed but I still get an Akka.Configuration.ConfigurationException: Logger [AkkaExtensions.TraceLogger, AkkaExtensions] specified in config cannot be loaded: System.ArgumentException: Unknown actor producer [AkkaExtensions.TraceLogger]...is there any additional step ?
Graeme Bradbury
@GraemeBradbury
okay so I now understand Fake a smidgen better.
build multinodetests spec-assembly=remote
what's the opinion on the commanline arg spec-assembly?
obvious enough that it's a filter?
Suhas Chatekar
@schatekar
this runs the tests and not builds them?
Graeme Bradbury
@GraemeBradbury
yeah
foo bar code
@lepinay
ok, works if custom logger inherits from ReceiveActor, I think the doc online should explain this because the error message isn't clear...it sounds like akka can't find the type/assembly but it's actually that the type is there but doesn't inherit receiveactor or any proper base type that should be there for a custom logger
Suhas Chatekar
@schatekar
@GraemeBradbury not sure if you would like to say build in the beginning in that case
Graeme Bradbury
@GraemeBradbury
@schatekar currently build multinodetests runs all the tests.
it also has the option build multinodetests spec=blah to supply the -Dmultinode.test-spec bit
Suhas Chatekar
@schatekar
ok, I thought you are talking about the new command line you have built
Graeme Bradbury
@GraemeBradbury
by pointing out -Dmultinode.test-spec you brought some Fake stuff to my attention, which means that my script becomes unneeded.
i can just extend the fake script.
Suhas Chatekar
@schatekar
right
Graeme Bradbury
@GraemeBradbury
ok created a pull request #1265 to extend the fake script.
Bartosz Sypytkowski
@Horusiath
@tstojecki I think, that you registered an event store journal, but you a) didn't specified, that it should be used for a particular persistent actor 2) didn't set it as a default journal
  1. you must override JournalPluginId of the persistent actor to point to journal section in Hocon config like akka.persistence.journal.eventstore
  2. to set journal implementation as default one, you need to add section akka.persistence.journal.plugin = akka.persistence.journal.eventstore