Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:55
    dependabot-preview[bot] labeled #4034
  • 06:55

    dependabot-preview[bot] on nuget

    Bump Hyperion from 0.9.10 to 0.… (compare)

  • 06:55
    dependabot-preview[bot] opened #4034
  • Nov 13 22:04
    Aaronontheweb synchronize #4032
  • Nov 13 20:19
    IgorFedchenko commented #4022
  • Nov 13 20:17
    IgorFedchenko commented #4022
  • Nov 13 20:17
    IgorFedchenko synchronize #4022
  • Nov 13 20:07
    Aaronontheweb commented #4022
  • Nov 13 20:02

    Aaronontheweb on nuget

    (compare)

  • Nov 13 20:02

    Aaronontheweb on dev

    Bump Microsoft.NET.Test.Sdk fro… (compare)

  • Nov 13 20:02
    Aaronontheweb closed #4033
  • Nov 13 20:02
    Aaronontheweb commented #4032
  • Nov 13 16:38
    Aaronontheweb commented #4022
  • Nov 13 16:37
    Aaronontheweb commented #4022
  • Nov 13 16:25
    IgorFedchenko synchronize #4022
  • Nov 13 16:25
    IgorFedchenko synchronize #4032
  • Nov 13 16:08
    IgorFedchenko commented #4022
  • Nov 13 12:50
    IgorFedchenko commented #4032
  • Nov 13 06:50
    dependabot-preview[bot] labeled #4033
  • Nov 13 06:50

    dependabot-preview[bot] on nuget

    Bump Microsoft.NET.Test.Sdk fro… (compare)

Damian Reeves
@DamianReeves
in my mind I kept reading Manifest as Metadata
Andrey Leskov
@andreyleskov
Yes, had same feeling ) May be tags column will fit ?
Damian Reeves
@DamianReeves
Have you actually indexed the columns in your view? is it schemabound?
Andrey Leskov
@andreyleskov
No, I prefer to keep original indexes and using view only for diagnostics \ debug in production. May be will pass json events to BI in future.
Damian Reeves
@DamianReeves
Ok, I see
Andrey Leskov
@andreyleskov
are you interested in passing events from journal to Projection ?
https://github.com/evendotnet/Even#projections
Damian Reeves
@DamianReeves
funny... I'm a contributor to that project
I was starting to be afraid Even is solving a problem that streams and persistence query solves, but in practice I see it solves an actual need
Andrey Leskov
@andreyleskov
From my point of view right now akka persistent journals really need possibility to subscribe to all persisted events as stream : akkadotnet/akka.net#2321
it will help a lot
Damian Reeves
@DamianReeves
Yeah I'm really interested in the projection story of persistent journals... Even gives us this but its not mature, I'm starting to wonder if we just need to add Reactive Streams support to even, but honestly though I get Rx I haven't quite grokked Reactive Streams yet
I think this convo is inspiring me to do a spike on Even (that and I've found myself re-implementing functionality I know Even has in an Akka based CQRS service we are building)
Andrey Leskov
@andreyleskov
I'm using simplified approach for projection - just pub\sub via EventBus \ DistributedPubSub and will gladly look at more convinient approaches
Nicola Atorino
@NicolaAtorino
Good day everyone! I started working on akka a little time ago, and I'm here for a question regarding snapshot and serialization.
I am working with the AtLeastOnceDeliveryReceiveActor, and i need to serialize my own state object toghether with the AtLeastOnceDeliverySnapshot. The documentation of the object itself says that this is possible by wrapping the object itself in another one containing my custom state, and that the AtLeastOnceDeliverySnapshot should be serialized as a blob and stored in the state object for later retrieval. The problem is that the AtLeastOnceDeliverySnapshot is not marked as serializable so I cannot use the .net binaryformatter. Any Idea how to overcome this ?
Vagif Abilov
@object
TWIMC: Had to lock Akka.Persistence.Sql.Common version to 1.1.1, the newest one (1.1.2) wasn't compatible with Akka.Persistence.SqlServer that is not yet updated to 1.1.2.
Andrew Buttigieg
@andrewbuttigieg
Hi all, bit of a question regarding TestKit. I have written a number of unit tests against several of actors in a project. Now all of these tests have ExpectNoMsg(); with everything set to default. This means that the tests are run sequentially and take 3 seconds each. With five tests, the test runner is taking 20 seconds, is there a way to parallelise the execution of these tests?
Bartosz Sypytkowski
@Horusiath
@NicolaAtorino the best option is not to use binary formatter - it's one of the slowest serializers you can imagine on .net
@object afaik akka.persistence.sqlserver PR for upgrade to v1.1.2 is merged to /dev, just not released yet
@andrewbuttigieg this depends on the test runner you're using. Xunit v2+ should have parallel builds by default
Andrew Young
@ayoung
does anyone know how to setup a broadcast group to send messages to actors that have a remote actor path? the path is like akka://clooster/remote/akka.tcp/clooster@127.0.0.1:6766/user/deployer/consistenthashrouter/c2
Andrew Buttigieg
@andrewbuttigieg
@Horusiath I am using NUnit 2x.
So maybe a setting from NUnit itself?
Bartosz Sypytkowski
@Horusiath
@andrewbuttigieg I haven't used NUnit for a while. Nonetheless it's more matter of test runner than akka testkit itself
Andrew Young
@ayoung
@Horusiath know anything about my remote path question above?
Andrey Leskov
@andreyleskov
@Horusiath does it mean that Akka.Persistence.SqlServer 1.1.2 is availalbe in nighly builds ?
Bartosz Sypytkowski
@Horusiath
@andreyleskov I don't know, if you companion plugins have nightly builds, but the best way is to check it out
Nicola Atorino
@NicolaAtorino
@Horusiath thank you for your answer. The akka documentation says to serialize the atleastoncedeliverysnapshot in a byte array, and I tried also protobuf-net but it requires all type and subtype to be mapped beforehand. This is not possible because i canot know the kind of messages that the snapshot will contain inside beforehand. So how can i serialize that kind of object? How does akka.net manage this thing internally? Does it ever serialize object in a byteArray ?
Bartosz Sypytkowski
@Horusiath
@ayoung you're trying to send a message to remotely deployed actor by pinning it to a router, this sounds like overcomplicating things
@NicolaAtorino you can try to use Wire serializer (which will we the default serializer from v1.5 anyway) or just use something json-based
btw. what's wrong with serializing atleastoncedelivery snapshots right now?
Nicola Atorino
@NicolaAtorino
@Horusiath we are using a custom serializer instead of wire because we have elastic as a persistence db (wire serialized object do not work well with it), and this custom serializer has problems with the snapshot object (especially, the actorPath subtype)
@Horusiath since i need my own state obj as a wrapper around the snapshot, i was following the documentation that ways to store the snapshot as a byteArray in a property of my own stateobj. And that's the reason i needed a bynarySerialization in the first place
but now i am thinking that instead of using a byteArray i can store it as a string, and use explicitly the wireserialization that should be able to work with that.
Bartosz Sypytkowski
@Horusiath
every akka serializer is capable of serializing object ot byte arrays
even if you have stream serializers, you can sent them MemoryStream and get byte array from it
Nicola Atorino
@NicolaAtorino
in fact now i will try to use programmatically the ActorSystem.Serialization class
it works well. thank you @Horusiath
Bartosz Sypytkowski
@Horusiath
np ;)
Andrew Buttigieg
@andrewbuttigieg
@Horusiath Ended up using XUnit and I can run parallel test from different assemblies so it solve what I was trying to do
Daniel D'Agostino
@dandago2_twitter
Web crawler sample documentation says: "You also want to make sure you include your Akka.NET HOCON configuration inside Web.config, that way you can take advantage of Web.config Configuration Transformations in combination with HOCON."
is it actually possible to do config transforms on the HOCON?
Peter Bergman
@peter-bannerflow
@dandago2_twitter Not sure if you can do transformations inside the hocon, but you can always replace the whole section with another hocon...
Daniel D'Agostino
@dandago2_twitter
that's kind of radical, it's like saying replace a whole Web.config with another... but good point
it would be nice to be able to tweak specific properties per environment
Arjen Smits
@Danthar
@dandago2_twitter What i have done is provide a base config in the normal hocon config section
and during app initialisation provide the override or fallback facilities of the hocon config system, to replace or inject environment specifics
these specifics can then be provided through any means you want. I use an app-setting and have my deployment CI env put in the right stuff during deployment.
ofcourse, if your deployment env can substitute variables in your config, you can do that with the whole base hocon config as well ofcourse
but i like to keep a seperation between the base stuff that applies to all instances, and the env specific stuff
Daniel D'Agostino
@dandago2_twitter
that's a really interesting approach; is there an example somewhere of how to do these overrides?