Can we create actor from the context of shard actor?
I want to understand can we create an actor from the context of shard actor(from inside shard actor) and delegate some work to it? What are the PROS and CONS of doing this? 4 posts - 2 participants...
View ArticleSupported storage options
Hi team, I am new to Akka and currently I am evaluate storage options for my new project that is gonna use Akka persistence and projection. After go through the documents, I have 2 questions For the...
View ArticleHow to disable SSL and skip cert validation with akka client in S3 Streams?
I’m facing an SSL validation problem with Akka Streams S3, resulting in a javax.net.ssl.SSLHandshakeException with the message: PKIX path building failed:...
View ArticleHow to migate a Akka cluster without stopping service
I started a ODL(opendaylight) cluster with the following akka config: So, the nodes(11.128.83.43, 11.128.83.33, 11.128.83.32) make up a cluster, 11.128.83.43 is member-1, 11.128.83.33 is member-2 and...
View ArticleProper Akka websocket client to receive infinite incoming stream
I’m trying to connect to WebSocket incoming infinite stream as described here. I see only couple of messages [info] ----------------------- [info] 2024-03-28T22:20:57.023+08:00 [info]...
View ArticleAkka actor Receivers stopped processing of sent messages
In our Java Spring application, we are using Akka messaging library to send and receive the messages. In Message we are passing the object to be process. This sending of objects to receivers happens...
View ArticleHow to detect that a consumer has disconnected from a stream
Given the following val ((queue, ks), source) = Source .queue[MyThing](queueSize, OverflowStrategy.dropHead) .viaMat(KillSwitches.single)(Keep.both) .preMaterialize() How can I detect when the...
View ArticleIncompatibility with SlickSession class and Slick v3.5.0
I’ve been attempting to upgrade from Slick v3.4.0 to v3.5.0. The Incompatibilty Report from the upgrade notes for Slick here: Incompatible changes · Slick It states that: … different result type in...
View ArticleCustom GraphStageLogic for Nats Jetstream
Hi there, We are heavy users of akka-stream at MyCoach Pro and have been willing to use it with NATS JetStream for a while. We’ve built a custom source stage, but are having some issues with it in...
View ArticleBackpressure with Actors
Hi there, I am having trouble wrapping my head around the various actorRefWithBackpressure options. Let’s say I have the following: A fast source An actor that consumes and processes that source but...
View ArticleQuery with custom durable state table with additional column failing
Hi There, I am working using durable state with custom table and additional columns, my code using following blog post example. The problem I am facing the query, similar to BlogPostQuery, is failing...
View ArticleHow to deploy Actor APIs?
Hi there, I build my API using Actors and Scala. How should I go about deploying it. I have it containerized in docker. Extremely happy to be at a step where I am ready to showcase my Akka application...
View ArticleCorrupted Event Journal in Akka Persistence
Dear Akka Community, We’ve encountered a JournalFailureException during entity recoveries in our production environment, and we suspect it might be linked to an outage in our Cassandra provider,...
View ArticleAlpakka Big Query connector TimeOut Exception after 6 minutes
0 I’m having a Akka stream application with big query as source, that queries a table. This is implemented using Akka Alpakka Big query connector. here is the code snippet for that. val timeOut =...
View ArticleErrors using Jackson serialization with durable state store
I am working on switching my application from Java serialization to Jackson. I am running up against an error in my custom durable state store plugin that I am having trouble tracking down. Here is...
View ArticleDifficulty managing several (nested) futures with multiple "asks" to actors
I have recently begun learning Akka, and I am trying to convert a consensus protocol that I wrote in Java to Akka typed actors in Scala. Most of what I have seen is incredibly concise and elegant, but...
View ArticleHow can I get information from another actor right when an actor starts to...
In my app, I need an actor to get some information from another actor either at, or immediately after startup. This information needs to be used to return another behavior, since that actor cannot do...
View ArticleExpected behavior when child actor throws an exception during pre-start
Hi All, I noticed a change in the behavior when an exception thrown during pre-start after upgrading to Akka 2.6.20 from Akka 2.6.2. In Akka 2.6.2, when a child actor is being created and an unhandled...
View ArticleUnable to find latest version of akka (2.9.3)
Hi, My company uses Akka BSL license (for free, we have revenues less than $25m). I cannot find the version of Akka actor 2.9.3 on the Akka repository (I am currently using version 2.8.5 which is...
View ArticleSource.ask with Typed Actor
Is it possible to use a Source.ask Actors interop • Akka Documentation to interact with a Typed Actor. The main issue being the passing the reference of the actor source to the receiver. I thought...
View Article