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

Recommended way to model a long-living worker?

Hi, what would be a proper way to model a long-living worker with akka? I have two persistent actors polling a database, for inserts and updates, each with a hard-coded unique persistence id. The...

View Article


Writing element each to its own file, problem on last element

I want to save each element in the stream to it’s separate file. I’m not sure if I’m missing something or there is a bug, as for the last element the file is always created but it is empty. val done =...

View Article


Starting behavior of distributed data

I’m trying to understand how the distributed data replicator behave at start up time. From what I have observed, it seems the the replicator first tries to load everything stored in the local durable...

View Article

How to shutdown ActorSystem by exceptions thrown in main App

Guys how we could shutdown ActorSystem based on throw exception in the main app object Boot extends App{ implicit val system: ActorSystem = ActorSystem("Boot") implicit val materializer:...

View Article

Akka 2.6.11 released

Dear hakkers, We are pleased to announce a new patch release of Akka 2.6. Notable improvements and bug fixes relative to 2.6.10: Bill of Materials (BOM) for Maven and Gradle dependency management,...

View Article


Akka and GraalVM

With the recent work on Cloudstate, has there been any activity around a first class GraalVM capability for core Akka since the discussion in 2018? I’d be interested in any examples or pointers if...

View Article

Silently dropping documents while writing to Elastic Search

We noticed that when the writes volume is heavy during the night, Alpakka Elastic Search fails to write to Elastic Search. There are no errors logged when this happens, not in the supervision strategy...

View Article

Akka stream for returning single json objects

Hello there, I use akka http and the stream API and i would like to return only one element as a json object to the client but the server wrap the object inside an array. [ { "items": [] } ] With this...

View Article


Akka HTTP 10.2.3 released

Dear hakkers, We are happy to announce the 10.2.3 release of Akka HTTP. This release is the third update in the 10.2.x series of Akka HTTP, introducing a preview HTTP/2 client. For more details see...

View Article


Akka cluster & DistributedPubSub on kubernetes Message goes to dead letters

Hi, We are using Akka cluster & DistributedPubSub on kubernetes, We have a problem, in some cases when we are calling “mediator.ask” the target actor is not receiving the message and the message...

View Article

Is there is any way to cancel stream immidiatly

In our application, we have an issue with using KillSwitch, even after shutdown() called we can see mapping operations (they can have blocking calls to DB) continue to execute for a long time. I was...

View Article

Alpakka Kafka Consumer stop polling broker after LEADER_NOT_AVAILABLE

Hi, help me please I have the consumer config (version: 2.0.5) committer { maxBatch = 5 maxInterval = 2 seconds parallelism = 1 } consumer: ${akka.kafka.consumer} { kafka-clients { bootstrap.servers =...

View Article

Persistence without Clustering

Is it possible to use Akka Persistence without a Cluster? Our desired architecture is to have a system where nodes receive Commands via Kafka (thus accomplishing sharding), but the only way of finding...

View Article


Akka Persistence JDBC 5.0.0 released

Dear Hakkers, The Akka contributors are happy to announce Akka Persistence JDBC 5.0 ! The full release notes can be found on GitHub release page. This is a major release as it changes the database...

View Article

Akka Projections 1.1.0 released

Dear Hakkers, The Akka contributors are happy to announce Akka Projections 1.1.0 ! The full release notes can be found on GitHub release page. Credits For this release we had the help of 5 committers...

View Article


com.typesafe.config.ConfigException$Missing: system properties: No...

Hi, I am trying to run Akka in Gluon (https://gluonhq.com/) platform as a native image. Compilation works fine and I am getting the following runtime exception, Exception in thread "JavaFX Application...

View Article

How to access SnapshotStore future API?

Hi! I’m looking for a way to access the snapshot store outside of an actor, so I can load the snapshot-data of a specified persistenceId with the corresponding snapshot selection criteria in one of my...

View Article


What will be the benefit of using akka-http over netty for the grpc requests...

Is it just going all in on the akka stack or is there a technical benefit to it as well? (Not that I love netty!) 1 post - 1 participant Read full topic

View Article

Cluster formation unsuccessful after split-brain-resolver down all decision

Following the advice for deploying a cluster using bootstrap: Deployment considerations We have new-cluster-enabled set to off in our cluster in a Kubernetes deployment using discovery-api. We also...

View Article

No output for exceptions in code executed by...

In my tests of event sourced actors with EventSourcedBehaviorTestKit.runCommand I noticed that if the code under test produces an error, the causing exception is not displayed. Instead the test kit...

View Article
Browsing all 1362 articles
Browse latest View live