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

Share the build.gradle for example Shopping-Cart of Akka Platform Guide

I’m studying the Akka Platform Guide. Shopping Cart is the example about micro-services in this guide. Building the project with SBT gets high latency from China. My favorite is Gradle. With the help...

View Article


How to get validation error logged?

Hi! We are using akka-http and I recently had to rewrite one of our validations from simple if-else to this method - validate • Akka HTTP . It totally works, but I don’t understand how can I add a log...

View Article


How to set up Event Sourcing multi-region across k8s clusters?

Hi all, we’re spinning up a microservice using Akka Persistence and Event Sourcing. We have a requirement for the service to be highly available across multiple regions and so we have an EKS cluster...

View Article

Unmarshaller.map() creates an unmarshaller that ignores the passed...

One would expect that this code: unmarshaller.unmarshal(entity, materializer) will perform the unmarshalling in the ExecutionContext of the specified materializer. However, this is not the case! If...

View Article

The server-side HTTP version is not supported

Hi Can anyone explain why, I am getting this error. Actually, I am using daml (programming language) on fabric (blockchain platform). and when I am running a command :- daml script --ledger-host...

View Article


First Message is Not Reaching the subscribed Actor

Hi, We have a Messaging Platform built on top of Akka (2.5) using akka cluster and Distributed Pubsub. We have a cluster of 25 servers currently. The scenario is as follows. Actor1 created in Server1...

View Article

What's wrong with flow join the way i use

hello there, i am a newbie to Akka. I learn Akka Stream recently, and i see a method join within flow. I try to run an example with it. The code like following: val f1 = Flow[Int].fold(0)(_+_) val f2...

View Article

Multisource kafka consumer

Alpakka consumer can be created for consuming from several kafka topics. I wonder if it is a good design choice to consume from several kafka topics in scope of one stream? I have several concerns...

View Article


Persistence/Sharding Design Question

Hi, We have a system implemented as endpoint nodes and shard nodes, each running in their K8S pods. The endpoint nodes don’t have any logic rather than receiving the HTTP request, using the shard...

View Article


How to convert case class to xml and vice versa?

Hi Team, I have a scala/playframework rest api system, I will use akka http to post xml data requests to a remote server and in return receive xml response. Could someone please share a sample code or...

View Article

Alpakka 3.0.0-M1 is now available!

Dear Hakkers, The Alpakka contributors are happy to announce Alpakka 3.0.0-M1 . Alpakka is compatible with Akka 2.6.13+. All modules are published for Scala 2.12 and Scala 2.13. In Alpakka 3.0.0-M1,...

View Article

Deterministic simulation of a distributed system in testing

Disclaimer: I’m starting this thread only for the sake of discussion. I’m curious about what other people think about the problem. It starts with this blog post. I have the impression that Akka is not...

View Article

Do unused actors hold thread/resources?

If I create a bunch of actors and don’t assign any work yet to them, do they hold thread/cpu resources or are they passive until the first message in the mailbox is processed? 1 post - 1 participant...

View Article


Can you recover multiple SnapshotOffers per persistenceId?

I have a system with a Persistent Actor that handles SnapshotOffer(_) during recovery. If my Persistent Actor has saved multiple snapshots over time, say a few hours, and I reboot it. Will all the...

View Article

Image may be NSFW.
Clik here to view.

Memory leak after actors are tried to be stopped

Hi, I am trying to create actors periodically every 10 minutes, and stopping them after 5 minutes (exception topic actors). As I analyze from profiler (YourKit), I see that actors are not being...

View Article


Disable duplicate serializer id check

Hi! Is there a way to disable serialization id duplication check? After merging this Detect duplicate serializer identifiers, #29100 by patriknw · Pull Request #29112 · akka/akka · GitHub fix (which...

View Article

Lagom with Cassandra on Kubernetes service discovery in a different namespace

I can’t figure out (the first steps in configuring kubernetes) what is needed for the configuration. I have: kubernes cluster deployed application in ping-pong-cluster namespace cassandra cluster...

View Article


Future of logging in Akka: classic EventStream or SLF4J?

I just read akka#26537 by @patriknw which describes a decision to switch from classic’s EventStream to SLF4J for akka-typed (possibly tentative?). This is of interest to me because I am currently...

View Article

Akka HTTP Client connection pools and reverse proxies : a puzzling use case

Hello again, I would like to share an observation we have had with the use of Akka HTTP client in a context where an F5 reverse proxy distributes traffic to 2 different Play Servers (let’s call them A...

View Article

Akka-Kafka Cluster multiple consumer groups

Hi There, As per Alpakka-Kafka documentation multiple consumer groups can be used to read from same topic but can be routed to different Behaviors. I can’t wrap my head how this can be implemented, as...

View Article
Browsing all 1362 articles
Browse latest View live