Parameter list as val in akka-http 10.2.x?
Below is a reduced example of something my akka-http 10.1.x code is doing, but no longer works in 10.2.x because of the ParamMagent / ParamSpec change. There’s no mention of how to migrate this in the...
View ArticleSSE from Kafka Source
I am trying to use a kafka topic as a source for SSE events. It does not seem to be able to read the source and keeps closing the SSE connection. What am I missing? val route = path("events") { get {...
View ArticleAlpakka S3 / Play Framework Configuration
Alpakka S3 doesn’t appear to pick up the configuration from Play Framework’s “application.conf” automatically. To get past configuration errors I needed to do the following: @Singleton class...
View ArticleGet aware of a resumed typed actor
Classic actors allow parents to get aware of failed childs (e. g. in the OneForOneStrategy). With typed actors parents get only aware of a failed child, if the strategy is “stop” (by ChildFailed...
View ArticleAkka 2.6.13 released
Dear hakkers, We are pleased to announce a new patch release of Akka 2.6. This release brings important fixes for Akka Stream performance regressions in Source.fromPublisher and Flow.future and...
View ArticleAkka Http live reload routes
Hy! I’m currently using the Http() .bindAndHandle(routes, "0.0.0.0", 9000) .map { binding => logger.info(s"Web server started on 0.0.0.0:9000") setupShutdownHook(binding) binding } mode to start a...
View ArticlewithBroadcastPredicate is freezing App
Hello, I’ve got a simple app to play around with routers and noticed a strange problem: As soon as I add withBroadcastPredicate( … ), the app does not start up correctly anymore, but freezes (with a...
View Article[Feature Proposal] About private typed actor messages
Currently there are two documented styles for handling private actor messages: Extend public base trait with private classes: sealed trait Command case class PublicMessage() extends Command private...
View ArticlePersistent actor not receiving messages while using jdbc plugin
I am trying to use akka persistent actors and the jdbc plugin for the journal. However, my persistent actors do not receive/handle the incomming messages with the receiveCommand function. However, I...
View ArticleX-www-form-urlencoded data in akka http java dsl
Hi I want to use form data in Akka HTTP 10.1.9. If I use Unmarshaller.entityToWwwUrlEncodedFormData() then I get a akka.http.javadsl.model.FormData with a akka.http.javadsl.model.Query. Thats nice,...
View ArticleAlpakka MQTT Streaming with credentials
I need to enable username/password based alpakka mqtt server session streaming for clients to connect with credentials. 2 posts - 2 participants Read full topic
View ArticleScala Akka Actors
Good morning all :) This is my first time posting, so sorry for any misunderstandings or lack of explanation. I am trying to implement a monitoring system, with the help of Scala and Java. To do so I...
View ArticleResource exhaustion: huge number of "kafka-producer-network-thread |...
I’m having trouble with my producer process apparently exhausting its resources. After sending a large batch of messages the JVM process has a large number of threads named as follows:...
View ArticleCreating typed actor from classic actor system
I have read multiple times the doc Coexistence • Akka Documentation the only way to spawn a typed actor from behavior is by creating kind of proxy classic actor that will spawn it. there is no direct...
View ArticleAlpakka S3 Dynamic Bucket Key?
Hello there, I’m using akka-grpc in the streaming client, single response pattern and attempting to persist the streaming client requests into S3 via the Alpakka S3 connector as a MultipartUpload....
View ArticleWhy is my heap usage going up on an Akka HTTP app without traffic?
I have a basic CRUD and websockets app that uses Akka HTTP with Slick for database connections on top of HikariCP. I noticed that the memory profile grows linearly until it hits the heap max, even...
View ArticleCustom Mailbox does not work for Guardian Actor
Hello, I’ve tried the example from here: Mailboxes • Akka Documentation with… ActorSystem.create(Behaviors.setup(ctx -> someBehavior(ctx)), "system", ConfigFactory.load("application.conf"),...
View ArticleAkka Persistence Cassandra 1.0.5 released
A few important improvement and bug fixes in akka-persistence-cassandra 1.0.5 eventsByTag was using default-dispatcher (also fixed in version 0.106) persistAll fails for larger number of events slow...
View ArticleShard Envelope Size
Hello, Is there any way I can configure the maximum size of the shard envelope. I have a base 64 encoded image I get from a HTTP endpoint. When I send to the backend shard from my HTTP route using a...
View ArticleWhy can't the example of Akka Platform Guide run?
Hi, I am reading the Akka Platform Guide, but I get problem in the example. I download the source code of the first chapter Create the gRPC Cart service and compile, run it with SBT. sbt...
View Article