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

Image may be NSFW.
Clik here to view.

How "UnboundedPriorityMailbox" read messages? (which kind of types available...

Hello! UnboundedPriorityMailbox has the option to prioritize messages by type (like int string etc.), BUT Is it possible to prioritize messages by type of class property? I mean , i know that option...

View Article


Akka how to detect message that failed to serialize or deserialize

Hey! I want to detect messages that have not been properly processed. I’m using proto and when I get a large size message it throws an error “Could not serialize message”, I check deadLetters but that...

View Article


Re-add option flags to SftpSettings to support Legacy SFTP servers

Problem My current project relies on many 3rd parties (financial institutions) and their SFTP servers. Alpakka SFTP works as-is for a good number of these, but a few of them run legacy SFTP servers...

View Article

Sending multiple messages to different topics as a single unit of work

Is there any way to make sure that two messages aimed for two different topics either both end up in those topics or none of them does after sending them there using either Send Producer or any...

View Article

Snapshot migration depending on class of member field

I have a class stored in snapshot say class A(member: MemberClass). MemberClass is a trait with multiple classes extending it, say MemberClassA, MemberClassB, MemberClassC. I would like to add a...

View Article


How can we parallelize the alpakka HdfsFlow.data flow for better performance

Hi All, We have a data upload service which writes user uploaded csv files to hdfs .We are using alpakka lib (version - 1.1.1) to write to hdfs . sample code - def uploadfile() { val hdfsSink:...

View Article

Integrating Guice with Typed Actors

I’m currently in the process of desiging an actor hierarchy to discover things about a given cluster connection. The design is reasonably simple: there is a coordinator, which reacts on external...

View Article

Akka Persistence Question

Hi! I’m a student and trying to finish the project but I got one problem. I’ve got a question concerning Persistence in Akka. The problem is that the code in the documentation (Persistence • Akka...

View Article


Rebalance Akka Cluster if One Of Shard Is not Resolving

Intermittently we are receiving following errors 2022-05-25 08:32:30,691 ERROR app=abc a.c.s.DDataShardCoordinator - The ShardCoordinator was unable to update a distributed state within...

View Article


Akka persistence for stateful actors - jobmanager -> jobs

TL;DR: I have a service that runs fine right now but does not have persistence. I’m a noob to akka and I’m trying to find a good tutorial/example to use to learn how persistence works. The ones I did...

View Article

CPU usage after upgrade

I recently upgraded akka from 2.5.17 to 2.6.19 and I see some increase in CPU usage. Could it be related to the upgrade in any way? We are using scala 2.12 version of akka on top of java 8. akka...

View Article

How to retire aggregates and archive events?

I am looking at Akka as I would like to use event sourcing for some particular microservices in my system (we are migrating an older space-based architecture to an event based microservice...

View Article

Concat + Partition doesn't appear to work when combining sinks

I am currently working on a PR to add SinkWithContext into akka-streams I came across a blocker when creating a helper function called SinkWithContext.fromDataAndContext. Below is the definition of...

View Article


Persist thenReply does not fire (Kotlin/Java) for event beahviour

After persist I want to execute thenReply from my command handler. But it won’t fire using this structure: Effect().persist(SomethingHappend(id)).thenReply(replyTo) { … } If I do the tell explicitly...

View Article

mTLS with Akka gRPC

Could someone point me at a location where I can find information on how I can configure mutual TLS between gRPC client and server. I see some configuration settings for setting up a trust store for...

View Article


How to use Akka cluster sharding Proxy and ddata together

Used Akka 2.5.x I created a 3 node Akka Cluster with cluster sharding. A proxy node connected to it without any role. I didn’t specified any role. When i Send message from that proxy node all the...

View Article

Rebalance not happening when using Akka cluster Sharding with proxyMode

Used Akka 2.5.32 I have created a 3 node Akka Cluster with cluster sharding. And configured ddata to remember entities. With ddata when a node is down the active entities on that node were created on...

View Article


Alpakka JSON Reading

Hi all, I was looking around JSON reading & came across Alpakka. I thought I would give reading some JSON & printing it a go but nothing is printed in the console. The JSON is just a simple...

View Article

Akka streams tcp server - send data to specific connections

I’m trying to build a simple TCP-Server which can accept connections and data from multiple devices. On the other hand the server should be able to send data to a specified device. Building this based...

View Article

Projection rolling updates and missing classes

Hi all, I implemented a Projection with Events from Akka Persistence serialized with the ProtobufSerializer. The projection is implemented in a different project and runs as a standalone process....

View Article
Browsing all 1362 articles
Browse latest View live