Alpakka MQTT Streaming: Client does not complain when there is no tcp connection
In the MQTT Streaming client, when there is no tcp connection: Why does the connection not throw an exception?...
View ArticleMultiple guardians per aggregate? (Akka Persistence)
Hello! We are using Akka Persistence (with CQRS) and we currently have one Aggregate in the system. We want to add another Aggregate, but I couldn’t find any documentation anywhere about this. Should...
View ArticleAkka Projection - How many ShardedDaemons? Best practices?
Hello! Currently we only have one aggregate in our system (call it aggregate A), and one guardian actor. Everything works there. We want to add another Aggregate (call it aggregate B) and a projection...
View ArticleRestartFlow supported for FlowWithContext
Hi, I have couple of flow with context. When some exeception happens i need to restart the flow . So is FlowWithContext supported along with RestartFlow? FLOW: val messageProcessFlow:...
View ArticleParameters with defaults don't compile
Upgrading Akka HTTP to 10.2.0, I am getting compilation errors using default parameters. The following code using non-defaulted parameters compiles just fine: import...
View ArticleAkka cluster metrics extension and akka typed support
Hi Akka team! Is there any way to use somehow cluster metrics extension with Akka typed? Or could AdaptiveLoadBalancingGroup be used with Receptionist in cluster? Also, I didn’t find any possibility...
View Articlejava.lang.OutOfMemoryError: Java heap space when Connecting to Kafka
I’m getting this OOM when connecting to Kafka ( AWS MSK ) using Akka Cluster, Alpakka and SSL. Btw, it works when SSL is off. marciomarinho@MacBook-Pro-3 trade % kubectl logs trade-84b848bf5d-djb74...
View ArticleDoes Akka Persistence provide delivery guarantees for Event Storage?
Does Akka Persistence provide delivery guarantees, in the meaning to guarantee that an event is actually stored in the event storage (eg Cassandra)? Otherwise, if there is no guarantee that an event...
View ArticleScala import hell with intellij working with akka-http
Hello, Due to security policies we are not allowed to use “underscore” with our imports. Intellij’s scala support is not the best so I had no luck to find the specific import using optional parameters...
View ArticleRemote actor system will not terminate when run in a servlet container
I have created a bare bones web servlet app that uses akka remoting. I defined my config as follows: akka { loggers = ["akka.event.slf4j.Slf4jLogger"] loglevel = DEBUG debug { lifecycle = on receive =...
View ArticleHelp with designing persistent actor hierarchy
Hi guys I’ve got a persistent actor model that is modelling an aggregate root. The event journal for this model is getting quite large (often over 10k events per actor) which can result in quite slow...
View ArticleHelp with Akka Actors reading and parsing XML files. Design
Hi, I Have a directory with XML Files. Each file needs to be parsed into an object that is then turned into an Actor with the state of the content from the file. The Actor can then receive update...
View ArticleAlpakka Kafka 2.0.5 released
Dear hakkers, We’re glad to let you know that Alpakka Kafka 2.0.5 is available now. This is primarily a maintenance release. Alpakka Kafka 2.0.5 requires Akka 2.5.31 or Akka 2.6.6 (or later versions...
View ArticleHttp entity Source expires when processed by an akka stream under load
Hi all My application has the following logic, as part of its main akka stream flow: Make an http request to receive a Source of the entity data in the response Process the entity bytes (in this...
View ArticleAkka Streams - Define timeout for mapAsync
Hi, I am using Akka stream (in Java) with an external service which its methods takes time. I don’t want this methods to block so I defined a flow which uses mapAsyncUnordered as follows:...
View ArticleAttached / Non-Async TestSource
Hi, When writing my own Akka Streams stages I’m finding it quite difficult to test that they pull / backpressure under the correct situations. The main problem is that TestSource is a detached stage...
View ArticleAkka 2.6.9 released with support for Replicated Event Sourcing
Dear hakkers, We are excited to announce a new patch release of Akka 2.6. Notable changes relative to 2.6.8 include: Replicated Event Sourcing a.k.a Multi-DC persistence. See below. #29217 Chunked...
View ArticleAkka Projections 1.0.0 released
We’re proud to announce the release of Akka Projections 1.0. The full documentation can be found at https://doc.akka.io/docs/akka-projection/current/. We have also prepared an introductory video....
View ArticleMemory Leak with millions of HostConnectionPoolStage Slot instances
We have a service that makes outgoing http requests using Http().singleRequest(request) We are experiencing memory leak with constantly increasing heap usage, retained, and a heap dump shows more than...
View ArticleMaterializer/ActorMaterializer confusion
Hey guys, I’m using the drunk library for graphql queries and its constructor is like this: object AkkaHttpBackend { val ContentTypeHeader = "Content-Type" def apply( uri: Uri, headers:...
View Article