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

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


Akka Cluster all seed node shutdown

Hi, all we use akka 2.5 version and setting cluster. under is config example akka { #loglevel = "DEBUG" extensions =...

View Article


Akka typed actor messageAdapter bug

Below I have a minimal repro of an issue I’m having with the messageAdapter pattern in Akka Typed. When you run it, it will print out the log messages below, which breaks the defined Message types. As...

View Article

Akka Persistence and uniqueness

Hello All, When working with Akka Persistence, how would I go about asserting the uniqueness of incoming form data ? The uniqueness in this case is in terms of the customer’s email, and address and...

View Article

Akka 2.6.21 released

Today we have released Akka 2.6.21 containing a back ported fix for a reported TLS issue where the JVM would end up in a infinite loop and have to be killed, an issue which we deemed critical. For...

View Article


Image may be NSFW.
Clik here to view.

How to use local memory transport message from A to B actor?

I have two actor: objManagerActor and objActor, send message to objManagerActor, then objManager dispatch message to objActor, I am computing TPS in objActor and result is about 2.4 millions...

View Article

Akka.persistence.r2dbc 1.1.0

Hi, just switched my service to AkkaPersistenceR2dbcVersion = “1.1.0” and AkkaProjectionR2dbcVersion = “1.4.2” Running local there is no error and i can work like before with no errors. But whe i...

View Article

How Do I Pause consumption from kafka source when using groupBy/groupedWithin

I have a flow that looks something like the code below and what is happening is I don’t have great control of memory usage. What are some options to cause backpressure and pause retrieving more data...

View Article


Sharding Does Not Processing Message

i have send message to sharding envelop but message does not get processed, I have created two node in cluster sharding with configuration as below, akka { loglevel = DEBUG actor { provider =...

View Article


Support of transactional partitoned source using multiple transactional sinks

Hi, I’ve found a rather interesting piece of code https://github.com/akka/alpakka-kafka/blob/main/tests/src/test/scala/docs/scaladsl/TransactionsExample.scala#L145. What happened to the...

View Article

Image may be NSFW.
Clik here to view.

JavaSerializationException for persistAsync(ReceiveTimeout)

I’m migrating an application from Akka 2.5.32 to 2.6.20 and getting a JavaSerializationException when I pass akka.actor.ReceiveTimeout to persistAsync() [MetricsSpec-akka.actor.default-dispatcher-5]...

View Article

Akka Cassendra Projection Scala 3 Conflicts

I am using scala 3 + akka for event sourcing with the cassandra backend plugin for persistence. I want to create projections with akka-projection-cassandra which is a 2.13 library. This is a problem...

View Article

Capability of stopping arbitrary, non-child actors

Hi, I am working on my master thesis, for which I want to study Akka, particularly its internal design. Thus, I have some theoretical questions. Akka typed’s documentation on the Actor lifecycle says:...

View Article


Is it possible to get the current TimeBucket in Akka Persistence Cassandra?

Hi guys! We are using Akka Persistence Cassandra 1.0.6. We are trying to track which TimeBucket is currently being scanned. The idea is to get some information about how many TimeBuckets are needed to...

View Article

Akka Persistence Keyspaces vs DynamoDb

Hi, I am trying decide on which scalable persistence backend to switch to from a regular RDS. I’m looking at Keyspaces or DynamoDb to minimize maintenance work. I am trying to compare them on level of...

View Article


Capability of creating children to an arbitrary actor from anywhere in an...

Hi, I have received excellent answers in my previous post, thus I’d like to take the opportunity to make some more questions. I am making these questions in the context of my master thesis, for which...

View Article

Using an existing role in k8s

The documentation here says that I have to use the role “pod-runtime” for the akka cluster to work. However, we already have an existing role, which has more permissions than the suggested...

View Article


Create Akka HTTP from protobuf file

Hi, This is a proto file package tests; service HalloController{ rpc Hallo (HelloInApi) returns (HelloOutApi) { option (google.api.http) = { post: "/v1/hello" body: "blob" }; } } message HelloInApi{...

View Article

Testkit for DurableState

Hello, I am using DurableState for my project. Earlier I was using EventSourcedBehavior. But after moving to DurableState all my JUnits are failing. I am using PersistenceTestKit and Plugin. We are...

View Article

Internal server error triggered by "Accept-Charset" header with unexpected value

Hello! In the minimal example listed under “Routing DSL for HTTP servers” within the Akka HTTP documentation, an internal server error (HTTP response code 500) is triggered when an HTTP request is...

View Article
Browsing all 1362 articles
Browse latest View live