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

Cassandra failes with AskTimeoutException, actor doesn't have response randomly

HI, we are using Scala version in a lagom system. Everything works well with small amount of data. but when there are over 10,000 requests asking cassandra to Get info, SOME of the requests failed...

View Article


Run ShardCoordinator in a Node with Different Role

From reference.conf: # Settings for the coordinator singleton. Same layout as akka.cluster.singleton. # The "role" of the singleton configuration is not used. The singleton role will # be the same as...

View Article


Websocket Reconnect/Retry - Is it Possible

Hi all, I’m getting started with akka http websockets (from the client side), and I’ve encountered a scenario where the websocket opens and data flows… until it doesn’t. I’m not sure why but...

View Article

Akka DistributedPubSubMediator handle null values(supervisorStrategy)

Hello, I am using Akka as a pub sub system in my project, so far all is going great, but I have one problem, when calling the following: this.mediator.tell(new...

View Article

ActorCell - changing Recreate into Create after...

When i start akka node. i received this axception; ERROR[dispatch-actor-system-akka.actor.default-dispatcher-32] a.a.ActorCell - changing Recreate into Create after...

View Article


How to set BearerToken in Akka Http Client single request

Hi all, I’m receiving a warning from akka http when trying to make a POST request with a bearer token. Here is the snippet where I am making the request. val bearerToken: String = "..." val resp =...

View Article

Akka-grpc-maven-plugin throwing error of "Unsupported platform:...

I have been using MacBook Pro of 1.4GHz Quad-Core Intel Core i5 laptop . Below is my system configuration Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) Maven home:...

View Article

Akka version for java 17

What is minimal akka version that I can use, using JDK 17 for compilation and runtime ? Currently migrating our code from java 8 to java 17, and wish to upgrade major versions as little as possible....

View Article


Relentless "Upstream producer failed with exception, removing from MergeHub...

I’ve been troubleshooting a problem over the past several months (off and on) that has me completely flummoxed. I’ve setup a simple repro case: a gRPC emitter and a gRPC consumer. The emitter...

View Article


Unable to run after migration from jdk8 to jdk11

In the process of migration from java 8 to 11, spring application failed to start with such error when creating ActorSystem The following method did not exist: scala.runtime.ScalaRunTime$.wrapRefArray...

View Article

Having trouble running Akka proof-of-concept for Akka Event Sourcing

Hi, I am just trying to run a small in-memory proof of concept using Akka Event Sourcing. Entry point here: akka_test/main.kt at master · NatElkins/akka_test · GitHub Configuration here:...

View Article

Image may be NSFW.
Clik here to view.

MergeHub is not cleaning up in the heap area

We are experiencing something weird on Akka streams implementation. When so many incoming messages are there(after creating a set of actors simultaneously), we get full GC issues. We have analyzed...

View Article

Full name of the stream on overflow log messages of QueueSource

I have a sizeable application which uses in a few places Source.queue(BUFFER_SIZE, OverflowStrategy.dropTail.withLogLevel(Logging.WarningLevel)). When, under load, some elements get dropped, we see...

View Article


[ERROR] Partition.out0 is already connected

[ERROR] [StreamSupervisor-0)] [error logging] Upstream failed. java.lang.IllegalArgumentException: [Partition.out0] is already connected at...

View Article

Mysterious chunking behaviour when using Akka HTTP

Hi everyone! When using chunked encoding I notice that I’m getting a chunk of len(1) as the first chunk. It could of course be something I’m doing, but I wasn’t expecting this. Any ideas? My test...

View Article


Image may be NSFW.
Clik here to view.

Akka Projections 1.2.4 released

One important bug has been fixed, which is relevant if you have forgotten to use the ProjectionBehavior.Stop message with for example Sharded Daemon Process. GitHub Release Akka Projections 1.2.4 ·...

View Article

Bootstrapping cluster locally - nodes not finding one another

I am trying to use akka-management and akka-boostrap to boostrap a cluster. But I’m unable to understand where I’m going wrong after having consulted the documentation several times, most likely I am...

View Article


Image may be NSFW.
Clik here to view.

Akka Bootstrap Seed Nodes Probing Failed On K8s

Hi I tried this sample akka cluster k8 project https://developer.lightbend.com/start/?group=akka&project=akka-sample-cluster-kubernetes-scala and followed the akka doc doc.akka.io Preparing for...

View Article

Understanding akka.discovery config - order of endpoints?

Does the order of endpoints mean anything in the akka.discovery config? Below is my config - akka.discovery { config.services = { local-cluster = { endpoints = [ { host = "127.0.0.2" port = 8560 } {...

View Article

TcpListener error - Too many open files

Hello. We are using akka actors and akka http client, java over Linux. Recently we’re experiencing errors which caused by having too many open files. The exceptions we get are in akka TcpListener What...

View Article
Browsing all 1369 articles
Browse latest View live