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

Akka Projection EventSourcedProvider event-adapters

Hello! I have recently tried out Akka Projection’s EventSourcedProvider and stumbled into some problems with typing the underlying event in the EventEnvelope. E.g. as per the documentation it is...

View Article


Kafka stateful processing via Cluster sharding

Hello, Our team would need to develop stateful processing of Kafka messages, using “Cluster sharding” pattern. From the below examples, it seems the sharding initialization part...

View Article


Binary compatible verification in unit testing

Is there a way to capture akka http binary compatible issues with Spring boot integration test? In my experience it’s not occurred in integration tests whereas below exception observed during...

View Article

Image may be NSFW.
Clik here to view.

My Bug while Using Multiple Cluster sharding with Akka Persistence

Hello, dear Akka gurus. I’m dealing with a bad bug that I hesitate if it is in my code or not. Consider I have three types of Entities (Actors ). Type A: Akka’s Default ClusterSharding Type B & C:...

View Article

The relationship between actor and thread

What is the relationship between actor and thread? How does actor achieve high concurrency with thread ? 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Akka 2.6.9 Artery TCP Implementation (Load balancer with local address)

Hi, Below is my application.conf properties . I have Load balancer IP “myproject-uat” on which need to start the listener which I have configured in canonical.hostname. but as per below logs:...

View Article

Leave a substream stopped without stopping sibling substreams for...

Hi guys. I’m using committablePartitionedSource consumer. By default when one substream stops then its sibling substreams are stopped as well. Can I somehow have the rest of substreams continue their...

View Article

Image may be NSFW.
Clik here to view.

Is it possible to scale consumer pods in Kubernetes using metrics from alpakka?

I have a set of micro-services such that I have one Orchestrator actor and one or more Worker actors. The orchestrator monitors Kafka topics and hands them out to workers to be consumers using...

View Article


Multi node testing In akka

Can i write multi node testing with java? Because there is no documentation in lightbend docs. thx 3 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Akka - Binding address is failing

Hi, Below is my application.conf properties . I have two hostname “myproject-uat” which I have configured in canonical.hostname and other one is the local address. Can anyone please check the above...

View Article

Correct way to use withRequestTimeout directive with akka-grpc

I’m using akka-grpc 1.0.2 and trying to setup an endpoint timeout. My route looks like this: val handler = MyServiceHandler(...) val rpcTimeout = ... Route.asyncHandler {...

View Article

Binding event adapters of type Read and Write to the same event type

I’m wondering why is it not allowed to bind a read type and a write type event adapter to the same event type, like this: "akka.persistence.journal.ReadMeTwiceEvent" = [reader, writer] … but I do can...

View Article

Persistent Actor Discovery

Hello, I am using AKKA Persistence ob its own without clustering of sharding. I have a simple HTTP route with a POST and a GET. In the POST I create the persistent actor instance. I need to access the...

View Article


Persistence of Initial State

Hello, When a persistent actor is created with an initial state and it doesn’t receive any commands before the server is shutdown, where is the initial state stored and how is it recovered when the...

View Article

Image may be NSFW.
Clik here to view.

Akka 2.6.9- InboundHandshake exception

Implemented Remoting Artery TCP in Java Project in which getting below exception on the destination module. image1453×471 186 KB application.conf have below configuration artery { enabled=on...

View Article


Spray-json 1.3.6 released

We released a small maintenance release for spray-json, version 1.3.6. The changes: Preserve order of iterable in viaSeq in Scala 2.13 (#330) Throw instead of overflowing silently when numeric values...

View Article

Image may be NSFW.
Clik here to view.

Custom transport with Akka Artery TCP(version-2.6.9)

Can anyone please guide me how we can create custom transport with Artery TCP(Implementation Class) Below is the one I was using for Netty image1218×547 125 KB 4 posts - 2 participants Read full topic

View Article


Eliminate timeouts on admin API's

Hello, We are using Akka-HTTP timeouts within our systems, such as request-timeout and idle-timeout. We have some admin pages (for internal debug purposes) where we want to disable all timeouts that...

View Article

Akka Typed persistence at-least-once delivery

I’m just trying to playing out in my head how to do persisted at-least-once delivery in Akka Typed. I can persist the recipient info when receiving a command to send a message, and send the message....

View Article

Interrupting an Akka thread under certain conditions to avoid memory consumption

Hope this question does make sense but been recently playing with Akka and bugging myself with something that seems trivial at first but may conflict the whole system. What I’m trying to solve is that...

View Article
Browsing all 1365 articles
Browse latest View live