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

Akka Persistence Cassandra 1.0.1 released

Highlights of the 1.0.1 patch release: Possibility to opt out from writing to all_persistence_ids table, #784 Update to Alpakka Cassandra 2.0.1, which includes a new version of the Cassandra driver...

View Article


Using materialized values to derive ordering for MergeSorted

Hello, I have multiple sorted Sources[A, M] which I want to merge using MergeSorted. However, MergeSorted needs an Ordering[A], which will depend on the materialized values of the input sources. I...

View Article


Akka 2.6.6: context.log.error("string") failed

Switched from 2.6.5 to 2.6.6 and I get the following error when I use context.log.It started working again after I removed the log statement. Was that use incorrect? Thanks for 2.6.6, especially with...

View Article

How can I change the behavior of actor to execute the received command

I would like to stash the received message and migrate the data after the success of the migration I change the behavior to execute the stashed command. trait Actor { this: Stash with Actor => def...

View Article

Akka Cluster with 'm' ActorSystems amongst 'n' nodes

We are a ‘n’ node system (with one ActorSystem per node) and would like to run ‘m’ ActorSystems on it for load balancing. Each node should only run one ActorSystem. I could use ‘m’ ClusterSingletons...

View Article


Elasticsearch RestClient version conflict

Hi, I am using the following artifact: "org.elasticsearch.client" % "elasticsearch-rest-high-level-client" % "7.6.2" And this high-level-client contains the RestClient class that only has the two...

View Article

Image may be NSFW.
Clik here to view.

Akka gRPC 1.0.0 released!

Dear hakkers, We’re happy to announce version 1.0.0 of Akka gRPC! gRPC is a transport mechanism for request/response and (non-persistent) streaming use cases. See Why gRPC? for more information about...

View Article

error while starting up loggers

I’m NB in akka/scala. I added a logger config under src/resources/application.conf I’m getting the below error. I only want to know is this a runtime error of compilation error? Thanks! [info] Loading...

View Article


First seed node couldn't join other seed nodes (artery)

Hi I use akka cluster version 2.6.3 with artery tcp remoting. In a 2-node cluster setup with raspberry pi’s, the first seed node (=node1) “Couldn’t join other seed nodes” after device reboot although...

View Article


How to use alsoTo

Hi, I would expect that the completion stage “b” completes in the example below. But it does not and “a” does. How do i get “b” to complete? ActorSystem system = ActorSystem.create(); Sink<String,...

View Article

How to persist to Cassandra and publish to Kafka multiple events

There is application on akka 2.5.29 , that has domain actors (extends some aggregate root actor) that can handle user commands, produce 0 to many events, and call processEvents(events) method of...

View Article

Akka Http - Performance - CPU %

Hello, async-profiler shows that my akka-http server is spending 16% of CPU time on forkJoinPool.scan(10% on signalWork and 6% on unSafe.park). The server gets thousands of requests per second and...

View Article

Remembering entities with cluster sharding

I would like to use the remember entities feature to automatically recover my persistent actors every time my application starts up (after it was stopped or crashed or whatever other reason). I am...

View Article


Listening to Dead Letters in Akka-Typed 2.5

I’m using Akka-Typed 2.5 and have an intermittent race condition of sending a message to an actor that has shut down before I received the Terminated message. Since this is an edge case, I figured the...

View Article

AWS S3 multipart upload with Akka Http does not upload the full file

I am uploading a large file to S3 using akka HTTP with AWS SDK low level API. Routes: withoutRequestTimeout { withoutSizeLimit { fileUpload(“file”) { case (metadata, byteSource) =>...

View Article


Akka HTTP 10.2.0-RC1 released

Dear hakkers, We are happy to announce the 10.2.0-RC1 release of Akka HTTP. This release is the first release candidate leading up to version 10.2.0 of Akka HTTP. Among other things, 10.2.0-RC1...

View Article

Outbound control stream failed after shutdown

Hey there, I’m getting an error from akka.remote.artery.Association that Outbound control stream to [Akka://as@someip] failed after shutdown. Any clues about how to find out more about this? Thanks a...

View Article


Akka Projections 0.3 released

We’re happy to release another milestone of Akka Projections, version 0.3. This version includes almost all features that we intend for upcoming 1.0.0. Telemetry is not fully completed yet. The API...

View Article

Convert a Flow[In, Out, Mat] into a Flow[In, Try[Out], NotUsed]

Hello, I want to convert a Flow[In, Out, Mat] into a Flow[In, Try[Out]], NotUsed]. The following works for me: def `try`[In, Out, Mat](flow: Flow[In, Out, Mat])(implicit ec: ExecutionContext,...

View Article

Akka Cluster Sharding - long GC pauses causing unreachable nodes

Hello everyone, we are running a cluster with Akka Cluster Sharding (Java) operating on about 30 million sharded entities. The cluster itself has 5 akka nodes with 80 GB RAM each and uses 3 cassandra...

View Article
Browsing all 1362 articles
Browse latest View live