Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Browsing all 1362 articles
Browse latest View live

Akka cluster + SBT 1.6.0+

I tried to create a project from scratch and with the dependencies of the latest versions. There were problems with running a minimal application with a cluster and a http server. sbt run exits...

View Article


akka grpc server stream cannot return every result in real time #1735

First of all, I have a server stream method. In the method, I will request an actor in a loop. I expect that after each request is responded, the application will return the result to the caller. But...

View Article


How to config Durable State Persistence

Hi, I use “akka-persistence-jdbc” , refer Configuration • Akka Persistence JDBC and the configuration is persistence { journal.plugin = "jdbc-journal" auto-start-journals = ["jdbc-journal"]...

View Article

Get Actor reference from unique path

Hello I am struggling to get an actor reference from a dynamic path I created a bunch of actors at the root level with an unique name for each actor My idea is to allow after any new actor of my...

View Article

Actor recovery failure due to invalid gzip-compressed event serialized by...

I got a strange error on prod. One of persistent entities stopped recovering because of corrupted compressed json stored in event_payload (blob) (Jdbc journal / mariadb). The responsible serializer is...

View Article


Using TCP with AKKA Typed

Hi I’m trying to create a TCP server with AKKA typed. I already got a POC working with AKKA Classic based actors, but I’m struggling with converting the full POC to AKKA typed. The current roadblock...

View Article

Akka Timers in Cluster Sharding

I am trying to run timer actor in akka cluster sharding but when one node going down which contains the schedular timer… it is not getting replicated to new shard …the actor is getting replilcated to...

View Article

Akka work pull multiple producers support

I am trying to explore work pull feature in the Akka cluster. Does the work pull feature supports registering multiple producers to the same service key? I tried the same by referring to the java...

View Article


How To get Access to Context in EventSourcedBehavior

I want to access context in eventSourcedBehaviour to start timers from the EventSourced Actor but now able to find way to wire context in EventSourced Actor 2 posts - 2 participants Read full topic

View Article


Number of connections created by alpakka kafka producer

In our use case, we have hundreds of streams consuming from hundreds of Kafka topics (thousands of partitions in total) and writing that data to just one topic. In the downstream topic (where our...

View Article

Akka cluster in kubernetes gets into inconsistent state

We recently introduced the first akka cluster over Kubernetes in our system. We have an Custom Pod Autoscaler that adds/removes pods based on the number of active requests (min 5 pods) We experience...

View Article

EventSourcedBehavior: Initialize "actor" with external data

I am trying to set up an EventSourcedBehavior whose State is a combination of data retrieved from a DB and events consumed from Kafka. How/where can I inject the former? I can imagine two options:...

View Article

EventSourcedBehavior: send command to self from event handler

I have a situation where, on the first Command received by my behavior, I need to first retrieve some data from a DB to fully initialize the State, and only then process the Command. What is the best...

View Article


Timeout exceptions while fetching to google credentials

Experiencing the timeout exceptions consistently while fetching credentials from google. We are using alpakka google common (alpakka/google-common at master · akka/alpakka · GitHub) version...

View Article

Image may be NSFW.
Clik here to view.

Java Mission Control shows NoSuchMethodError

We have a large-scale AKKA application in production that serves millions of users every day. Java Flight Recorder reports NoSuchMethodError thrown while running our application on production; I would...

View Article


EventSourcing from legacy Kafka topic

I am trying to follow the akka-sample-kafka-to-sharding-scala example, but this and the docs seem to assume that I am able to define a Command trait that my Kafka messages will inherit. I don’t have...

View Article

Actor System timed-out during coordinated shutdown phase...

Currently we are working on a scenario which involves simulating a network partition in an akka cluster. While testing it, we found that the actor system in one of the nodes of the downing partition...

View Article


Host-connection-pool max-connection and server pipelining limit with AWS load...

Hello, we are using akka http server and we were wondering how to properly setup the below http { server { pipelining-limit = 5 } host-connection-pool { max-connections = 4 } } To my understanding the...

View Article

Tcp command [Connect(...,None,List(),Some(10 seconds),true)] failed because...

Really simple, I can take the request and execute it from cURL on my local machine. Due to my work environment, I have to go through a proxy to make the request. With the proxy up cURL works, but...

View Article

Does mailbox has a ack mechanism?

For sender, it want to know if messages arrive target actor’s mailbox. Are there some ack mechanisms to implement this? 2 posts - 2 participants Read full topic

View Article
Browsing all 1362 articles
Browse latest View live