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

Combining Streams with disparate types

Apologies for the bad title, but not sure how to succinctly describe the question. I have an unlimited Source[A, NotUsed] and a limited Source[B, NotUsed] where the latter is basically just a future...

View Article


Are Akka persistence side effects always handled on the same entity?

Hey all, wondering if anyone has seen this kind of weird issue with akka persistence: I’m essentially sending (via ask) a command to an entity, and the command handler for that command will persist 2...

View Article


Failed to serialize remote message

I am trying to migrate Akka from 2.4.1 to 2.6.19 during this migration I am facing some serialization issues as follows. akka.remote.MessageSerializer$SerializationException: Failed to serialize...

View Article

Does below config will work for disabling java serialisation in akka 2.4.1?

enable-additional-serialization-bindings = on serializers { proto = “akka.remote.serialization.ProtobufSerializer” } serialization-bindings { “java.io.serializable” = none...

View Article

How to get metadata of a Cassandra session in Akka Projection?

I need to register some UDT codecs to the Cassandra session. But the session built by CassandraSessionRegistry(system).sessionFor(...) hasn’t the member getContext or getMetadata. I can’t get specific...

View Article


SBT compiled .proto, but IDEA can't recognize the trait built by it?

I use SBT 1.8.2 to compile some .proto. It shows compiling all of them well and generating result to the target dirctory. But when I extend the trait of service generated by the .proto, IDEA can’t do...

View Article

AKKA library in android studio Koltin project

Hello friends, I am new to AKKA, and I want some examples of how to use the Akka library in the android studio project. I just want to use the AKKA library instead of Retrofit. is it possible? please...

View Article

Have anyone had success deploying an Akka cluster on Docker Swarm?

I’ve spent a lot of time trying to get even a very simple clustering exampling working on a small docker swarm cluster. If anyone can point me at some examples, provide some pro tips, or even claim...

View Article


Improving Resiliency of Akka IO DNS

We recently encountered an interesting failure mode with some of our critical infrastructure that is based on Akka and Akka HTTP. At the time of the failure there was resource contention on the host...

View Article


Alpakka S3 GetObject metadata as materialized value

DISCLAIMER: I’m fairly new to Akka streams, so this is my best understanding of the behaviour. Alpakka S3 version 4.0.0 deprecated S3.download in favour of S3.getObject. The relevant parts of the...

View Article

Image may be NSFW.
Clik here to view.

Is the DDL script of Projection_Management wrong?

Environment: Akka 2.7.0 Akka Projection: 1.3.1 Cassandra Driver: 4.15.0 Akka Persistence Cassandra: 1.1.0 Problem I copy the DDL scripts for offset and projection_management schema, replace the...

View Article

Image may be NSFW.
Clik here to view.

The Akka gRPC QuickStart can't run

Environment Windows 11 Java 11 Scala 2.13.4 Akka 2.8.0 IDEA 2023.1 Project developer.lightbend.com Akka gRPC Quickstart with Scala I modified nothing about the official project. The guide shows...

View Article

Alpakka JMS dispatcher

According to JMS specs ( Java Message Service(TM) 1.0.2 API Specification: Interface Session ): “Once a connection has been started, any session with a registered message listener(s) is dedicated to...

View Article


Nested use of unfoldResource

(topic deleted by author) 1 post - 1 participant Read full topic

View Article

Set type of service field in IP headers

Hi all, I would to know if there is a way to set the value of the type of service field in the IP header of the packets sent during an http request. In the documentation I saw that this field that can...

View Article


Alpakka - Bigquery.InsertAllAsync not working as expected

Hello, Getting below exception while trying to write data into BigQuery using Alpakk’s Bigquery.InsertAllAsyc. function. AkkaVersion = “2.6.19” AlpakkaVersion = “3.0.4” AkkaHttpVersion = “10.2.4” {...

View Article

Image may be NSFW.
Clik here to view.

How to solve the conflict between Akka gRPC plugin of SBT and ScalaTest?

Environment Windows 10/11, Debian 5.10 JDK 11.0.18 SBT 1.8.2 Akka gRPC plugin 2.3.0 ScalaTest 3.2.15 Problem While the Akka gRPC plugin is enabled, the test fixtures of ScalaTest can’t be recognized...

View Article


wireTap and dropped elements

Hi all. Can def wireTap(f: Out => Unit) actually drop elements in practice? It uses Sink#foreach, which will always pull for an element IIUC. I understand that the other variant (def wireTap(that:...

View Article

Akka - Actor Cluster Inconsistent Shard rebalance while Rolling restart of nodes

Issue When more no of actors in a shard the rebalancing is not happening properly when rolling restart of nodes. When the nodes restarted one by one sequentially some shard not rebalancing to other...

View Article

How to bubble up the exception root cause in a recursive algorithm...

I am keen on getting to know akka, and thanks to every creator of akka involved. I started with a recursive zipping job, i.e. anonymous agents (Behaviours) are spawned with the intention to do the...

View Article
Browsing all 1365 articles
Browse latest View live