Akka cluster stretched over multiple kubernetes clusters
Hi, Is it possible to have a stretched Akka cluster on top of multiple Kubernetes clusters? I’m now using Akka Management to set-up my Akka cluster in a single Kubernetes cluster. But I’d like to have...
View ArticlePassing Typed Actor Props through Guice bindings in Play
I’m trying the figure out how to create a top level actor (i.e child of user guardian) with Guice’s bindTypedActor method which doesn’t accept Props. I would like to run this actor on a pinned...
View ArticleSharding entity custom Stop msg and HashCodeNoEnvelopeMsgExtractor
It seems that it is not possible to use custom Stop message together with HashCodeNoEnvelopeMessageExtractor: sealed trait Message { def mpId: String } case class Stop() extends Message { def mpId:...
View ArticleAkka http server side host-connection-pool configuration
akka { http { host-connection-pool { max-connections = 1024 max-open-requests = 2048 idle-timeout = 600 s } } Does akka http server side use host-connection-pool configuration for anything? 1 post - 1...
View ArticleAkka Projection Slick High Eventual Consistency Delay
Hello, I have a question about the delay from when the persistent entity (typed actor) persists an event to when the source provider and shared daemon process projection. I have a simple service that...
View ArticleMy akka cluster node reboot in an unexpected way
My akka cluster shutdown after giving the following warning 2021-06-22 22:44:27 06/22 19:44:27.886 WARN [dispatch-actor-system-akka.actor.default-dispatcher-11218] a.s.Materializer - [outbound...
View ArticleAkka 2.6.15 ClusterActorRefProvider warning - Error while resolving ActorRef...
I am in the process of updating one of our clusters from akka-2.5 to akka-2.6, including updating from Netty to Artery. I am getting the following warning when the cluster is starting up and so far...
View ArticleThe right way to lazily consume a non-thread-safe source
I need to fetch from the database a large amount of data and make a stream from it. But ScrollableResult from Hibernate and Cursor from MyBatis bounded to a session that is not thread-safe and must be...
View ArticleCommitting offsets in SinkActor
We are using an alpakka pipeline that uses Source(Consumer.committableSource) as KafkaConsumer and Sink.ActorRefWithAck as the sink for BackPressure. The problem statement - We need to commit Kafka...
View ArticleEventEnvelope should contain event tags
For multi-tenancy purposes I tag the events with a tenantId. In the projection handler I would like to read the tags of the event (in order to read the tenantId associated with the event). I believe...
View ArticleWhat happens after system.terminate() and main completes?
I have a stand-alone integration written mostly in java+akka that uses akka.testkit.ExplicitlyTriggeredScheduler. The following stops quickly as I expect: public class Simulator { public static void...
View ArticleAlpakka 3.0.2 is available now
Dear hakkers, We are happy to announce Alpakka 3.0.2! It is a small release with two bugfixes for tar reader and JMS and one improvement for UDP 3.0.x release notes Happy hakking, The Akka team 1 post...
View ArticleUse client-side http2 in akka-http_2.13 v10.1.12
Can anyone tell me what is the correct way to launch a http2 request with akka-http? The doc website says I have to Http.get(system) .connectionTo("127.0.0.1") .toPort(8443) .http2(); But in the...
View ArticleActor + Playframework
Hi, New to akka + play. I have a scheduler that sends a message to an Actor (using akka quartz). During scheduled time, I want to implement the following - The actor gets list of jobs. (1000s of...
View ArticleBuilt-in alternative to MaxInFlightRequestStrategy
Is there a built-in alternative to the MaxInFlightRequestStrategy that was present as part of the ActorSubscriber?. I’m looking to create global shared throttler that can be shared among multiple...
View ArticleImpact on Akka 2.5.29 due to Netty CVE-2019-20444/20445
In Akka 2.5.29, Netty 3.10.6-Final is added as dependency. And this version of Netty is impacted by vulnerabilities CVE-2019-16869, CVE-2019-20444 and CVE-2019-20445. Is there a solution provided by...
View ArticleHow to locate a actor create by spawn
i’m want to implement a saga by akka, there is a few step human task, for example a shoping saga, user can create an order, confirm the address, cancel or pay the order, these step are human task,...
View ArticlegRPC akka cluster client in k8s (Azure)
Hello, I’m trying to set up gRPC akka cluster client to communicate with akka cluster inside k8s (Azure). I don’t understand what I’m doing wrong. docker image has installation Open JDK 11 Used akka...
View ArticleCluster Bootstrap - Cannot join self when using random port
We’re attempting to use Cluster Bootstrap with a custom discovery class that pulls data about other nodes from Eureka. The connection with Eureka and everything works fine, it returns the data for all...
View ArticleGlobal flow vs One flow per actor - in producing to kafka
I want to produce messages from actors to a kafka topic. I have two approaches: A single global flow: All actors offer their messages to a single source-queue. One flow per actor: Each actor has its...
View Article