Questions tagged [akka-persistent-fsm]

Akka Persistent FSM is an experimental package for unifying Akka FSM with Akka Persistence.

Akka Persistent FSM is the experimental unification of Akka Persistence with Akka FSM. The former is a library for actors that can persist their state to a data store and automatically recover when reinstantiated. The latter is a DSL for defining actors in terms of finite-state machines, rather than an explicit receive method.

6 questions
5
votes
1 answer

How to test Akka Persistence actor

I'm working on a project that's based on Akka Persistent FSM. In particular: I want to know what the best way is to structure test cases for independence? Since state changes are persisted (this is not well explained in the documentation, but can…
acjay
  • 34,571
  • 6
  • 57
  • 100
2
votes
1 answer

how to set connection string for akka.net persistence actor from C# code behind

I have used persistence actor which is configured to sql server plugin. Here is below my hocon configurations. Here data source connection string is set to my localhost. Could it be possible to set this connection string from C# code behind just…
Amal Shalika
  • 1,077
  • 1
  • 13
  • 22
0
votes
1 answer

Is the following akka.conf file valid?

I am using OpenDaylight and trying to replace the default distributed database with Apache Ignite. I am using the jar obtained by the source code here. https://github.com/Romeh/akka-persistance-ignite However, the class IgniteWriteJournal does not…
0
votes
1 answer

PersistentFSM Replying with the stateData value AFTER applyEvent

I'm using akka with PersistentFSM and would like to be able to reply to a message using the stateData value after the event has been applied when(StartedState) { case Event(..., ...) => ... stay applying BidPlaced(...) replying…
user2971902
  • 63
  • 1
  • 4
0
votes
1 answer

Akka-stream filter out particular event from Cassandra

I currently have an event sourced service supported by Akka and Cassandra. This is a bidding system called AuctionService and at some point I need to retrieve the last bid event called BiddenOnLot. For that I use akka-persistence-query. Here is my…
Tíbó
  • 1,188
  • 13
  • 28
0
votes
1 answer

Akka.net persistence actor doesn't get connection string from Fallback Config?

I have my main hocon config in app.config file and try to set connection string from code behind using fallback config. but when actor system start it doesn't working. here is my hocon config and C# code as below. Can someone help me please? Hocon…