Akka Actor logging of line numbers
We are using Akka 2.4.19 with Scala 2.12.12. If I configure logback to log line numbers I only see: Slf4jLogger.scala:83 which is a class in the akka library. How do I get the real location of the...
View ArticleAkka Remote Performance issue
I am facing a performance issue in Akka remoting. I have 2 actors Actor1 and Actor2. The message sending between the actor is synchronous ask request from Actor1 to Actor2 and the response back from...
View ArticleAkka 2.5.32 released
Dear hakkers, We are pleased to announce the 2.5.32 patch release of Akka 2.5. The release backports some fixes. This is expected to be one of the last releases in the 2.5 series, and we encourage any...
View ArticleConnection was closed while response was still in-flight with localstack-s3
Hello, i’m running locally akka-stream-alpakka-s3 v2.0.2 scala 2.12.12 localstack v0.11.6 docker run -e SERVICES='s3' -e DEFAULT_REGION='eu-west-1' -p 4566:4566 -it localstack/localstack:0.11.6 create...
View ArticleHow to restart the stopped Actor?
Hi everyone, github.com akka/alpakka-kafka/blob/master/core/src/main/scala/akka/kafka/internal/KafkaConsumerActor.scala#L564 val (resumeThese, pauseThese) =...
View ArticleCluster Sharding - Persistence - Multiple Keyspaces
Hi everybody, I have a question about Akka Casssandra Persistance Plugin and Cluster Shard Persistence Plugin… In our project, we initially used one single Keyspace for Akka Cassapersistance Plugin...
View ArticleUnable to access akka documentation, server seems to be down and have a...
Unable to access akka documentation, server seems to be down and have a config issue eg: when accessing https://doc.akka.io/docs/akka/current/typed/index.html/ I get:...
View ArticleActor Architecture: How to
Hello everyone. I’m extremely new to the Akka framework. I followed a lightbend certification on academy, and the full IoT tutorial on akka website. But now it’s time to try to put hands on it. I am...
View ArticleHow to persist messages with new sequence Number in case of Recovery Failures
How to make sure that in case of Recovery failures, the queued messages for actor are persisted to Journal. I am using classic actors. But if the recovery fails, the messages in the queue are not...
View ArticleSOLVED: Scala Akka Typed: how to add a Jackson module to avoid...
Hi, I am having trouble de-serializing a Map[Address,Job] inside a State object. The problem stems from the fact that the de-serializer for the Address is not found. For this test:...
View ArticleError while saving snapshot: (persistence_id, sequence_number) already exists
Hi, folks , I am getting the below error sometimes: Detail: Key (persistence_id, sequence_number)=(MEMBERSHIP-d8ec1971-f095-43d2-a69f-39772463fd90, 43) already exists. I am using postgres as database...
View Article"Retry request for shard"">Akka-Cluster: "Failed to persist event" =>"Retry request for shard"
Hi everyone, we are using Akka-Cluster-Sharding with the following components akka: 2.5.31 scala: 2.11 akka-persistence-cassandra: 0.102 We got an temporary perstistence issue after a GC pause on one...
View ArticleTyped actor references from Receptionist
I’m using akka 2.5.21, in Java. After registering the actors (and also spawning them) to a Receptionist I tried to look them up in another class with Receptionist.Find message. For this I created a...
View ArticleAkka 2.6.9 Artery Implementation listening on default port always i.e. 25502
I am using Akka 2.6.9 version in Java project. Project consist of multiple modules having port 2551 for 1st module and 2552 port for 2nd module with a common hostname(localaddress) and fetching the...
View ArticleSlick custom profile
Hello! Is there somewhere an example on how a Slick custom profile should look like ? Context: I want to use streaming with Slick/Alpakka with Dremio. It’s a little bit of a weird system (they don’t...
View ArticleMust EventSourcedBehavior.emptyState() return a new object?
Hello all, I’m new to this forum. Greetings! I’m using EventSourcedBehavior in Java. When implementing the emptyState() method, does the method body need to create a new instance of the state, or is...
View ArticleAkka http parameter optional dsl error
I have a route like /test?format=xx and parameter format is optional in scala, I wrote: path("test") { parameters("format".optional) {format => get { complete(...) } } But I got the following...
View ArticleAkka Persistence Cassandra - High RU/s on tag_views table
I’m currently using Akka Persistence w/ the Datastax Cassandra plugin against CosmosDB. I also leverage Akka Persistence Query to create a projection from a Cassandra Read Journal. (see below) The...
View ArticleAkka design advice
Hi everyone, I am very new to Akka and therefore an absolute beginner. I am trying get more familiar with it by writing a small personal project with Akka and so I am wondering how to do it “the right...
View ArticleAkka 2.6.9 -> Message Serialization failing with Artery and Java 8
Sending message remotely from one Node1 to other remote Node2 getting below error: Encoder[(akka://sys)] Failed to serialize message [ActorSelection(Class RemoteMessage)]. RemoteMessage class...
View Article