Quantcast
Browsing all 1367 articles
Browse latest View live

Akka HTTP 10.2.9 Released

Dear hakkers, We are happy to announce the 10.2.9 release of Akka HTTP. This release is a bugfix release fixing a few regressions introduced with 10.2.8: Avoid memory leak when HTTP/2 is enabled...

View Article


Simple App To Store Everything In Data Store From Kafka

Hi, I would like to build an app using an Akka library that pull from kafka (batch) extract some info (id & event_number) from message, doesn’t require de-serialisation store it into in-memory...

View Article


Debugging Akka Http and Slick

Hi folks, I’m quite new to Scala and am working on an Akka Http REST API that connects to a Postgres database via Slick. Basically, the routes should ask the categoryRepository actor to request a list...

View Article

Implementing 404 with Akka HTTP

Hi folks, I’m trying to improve the error handling on my REST API and figure out how best to implement a 404 response when a resource can’t be found. My routes call Akka actors which use a DAO...

View Article

Akka Actor and Project Loom

Hi, i am wondering about difference between Akka Actor and Virtual thread in Project Loom. Awww, each platform thread has many Actor and it also has many virtual thread. Thank you so much 1 post - 1...

View Article


Testing akka typed ask pattern

Hello here, Any pointers on how to test an akka typed ask pattern ? something like this aggegatorService.ask( replyTo: ActorRef[Client.Response] => GetCurrentData( clientId = 1, replyTo = replyTo)...

View Article

Akka HTTP CORS headers not being set

I’m attempting to use akka-http-cors to implement CORS while connecting a React app running on localhost:3000 to an Akka HTTP REST API running on localhost:8080. I’ve followed the documentation but it...

View Article

Organizing Kafka Consumers in Akka Cluster

Hey guys, I would like to know your opinion for the following situation: An application is based Kafka. There are a small number of topics but in case of high load a high number of consumers. In that...

View Article


Image may be NSFW.
Clik here to view.

Grpc maven plugin: annotate generated classes

Hi, I’m using the grpc maven plugin to generate java classes from proto files. I would like to annotate classes that are generated to exclude these from code analysis (sonar, …). I would like to use...

View Article


Does akka best for JVM language rather than non JVM

Hi all, Does akka fit in JVM language rather than non JVM (c#, nodejs…) i dont know why ? and what problem when i replace Kafka to akka in order to do message queue 1 post - 1 participant Read full...

View Article

Cannot Find a Topic using the Receptionist

After having created a Topic as system actor, I tried to look them up with Receptionist.Find but nothing was found. The same problem occurs, when the Topic is created using ordinary spawn. Here my...

View Article

TLS SSL TCP Actor

Hello there I am trying to implement ssl encryption with tcp server socket. I could achieve it using streams but I am not sure how to achieve it using Actors. For now I am using sslengine.unwrap on...

View Article

Akka 2.6.19 released

Dear hakkers, We are excited to announce a new patch release of Akka 2.6. Noteworthy additions and improvements in this release: Fix connection not re-establised post unreachability resolution, thanks...

View Article


Could not read manifest information. java.io.FileNotFoundException:...

Hey folks, I’m seeing the following line in my Tomcat docker container logs. The application is using Scala/Scalatra/Akka. [default-akka.actor.default-dispatcher-6] WARN a.u.ManifestInfo - Could not...

View Article

One2OneBidiFlow $ OutputTruncationException on GET Request

@jrudolph I am getting the same exception. I will put the snippet below: ` public HttpResponse handleRequest(HttpRequest request) throws InterruptedException,ExecutionException{ if...

View Article


Lack of mapAsyncUnordered for SourceWithContext

Hello, I’m wondering why SourceWithContext don’t support mapAsyncUnordered: would it be hard to add as it already support mapAsync? At first glance it looks that under the hood it would just get...

View Article

Distribution of ShardedDaemonProcess Actors

I ran into some distribution issues with ShardedDaemonProcess. For example, let’s say you need to build 3 projections and you want to have 3 workers for each projection. So for each projection, we...

View Article


Guardian failure gives exit 0 on jvm termination

I have akka.coordinated-shutdown.exit-code = 1. If I execute ActorSystem(Behaviors.empty, "sys").terminate() it will exit with code 1. ActorSystem[Nothing](Behaviors.setup[Nothing](_ => { throw new...

View Article

Pros and Cons of Akka vs Traditional Method Calls as they Relate to module Reuse

I am considering learning Akka but it doesn’t look real easy so I’m not sure it is worth it. My main project goal is to build long-term reusable modules and to also be able to add 3rd party reusable...

View Article

Image may be NSFW.
Clik here to view.

Akka pub sub with routers(not via classic)

Hello, We want to implement akka as our pub sub solution(internal to process, not distributed), we will need to use routers, but we will also need to publish a message to several routers at once based...

View Article
Browsing all 1367 articles
Browse latest View live