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

Cluster discovery (dynamic) using seeds

@surendarchandra wrote: Suppose I know which actors are part of the cluster and that this information is dynamic. Then I would do something like this to call all of them as seed nodes and join them....

View Article


Cassandra Contact Point

@alan.brewster73 wrote: Hello How do I override the default value for the Cassandra contact point. I tried below, however the driver still seems to be trying to connect to 127.0.0.1...

View Article


Alpakka with aws msk

hi what extra measures needed to be taken when connecting to MSK with Alpakka, Are there any examples available. 2 posts - 2 participants Read full topic

View Article

Alpakka 2.0 is here!

Dear Hakkers, The Alpakka contributors are happy to announce Alpakka 2.0! What is Alpakka? The Alpakka project is an open source initiative to implement stream-aware and reactive integration pipelines...

View Article

Akka 2.6.5 released

Dear hakkers, We are happy to announce a new patch release of Akka 2.6. Notable changes relative to 2.6.4 include: Harden ShardCoordinator state update guarantees, including new update strategies in...

View Article


Akka Cluster - Concurrent Seed Start Up / Race Condition

I have the following cluster members: m1 : seeds = [m1, down_member] m2 : seeds = [m2, m1, down_member] down_member is a member that just crashed. If I start m1 and m2 pretty much at the same time,...

View Article

Graph with cycle stops producing elements after some time

I’m trying to implement a locking mechanism per unique element across stages in a graph. My graph contains a cycle which works as a retry mechanism if an element fails to acquire a lock. But on...

View Article

Sending RequestContext to remote Actors

We have built lots of code around using Akka-Http within a single node. I’m trying to see if I can scale it out by using Akka-Cluster and send the Http requests to a remote worker Actor. I know that...

View Article


ShardedDaemonProcess - numberOfInstances

In the akka-samples-cqrs-java the ShardedDaemonProcess is inited ShardedDaemonProcess.get(system) .init(....., settings.parallelism, ... ) and used later into ShardedDaemonProcessImpl val entityIds =...

View Article


Thread safe source queue

Hello, I would like populate elements to Source queue from many threads so I’m wondering if...

View Article

How to match an anchor

Hi, I’m trying to match a path with an anchor in it (see below). I’ve tried the following, but seems #some-anchor just disappears from the request uri: path("") { extractRequest { implicit...

View Article

Akka kafka consumer parallel processing

Hi, I’m working on a Kafka consumer application using Akka Kafka connector. I would like to consumer to process messages parallelly. which consumer group should I use...

View Article

Sequential processing is faster than parallel processing - Why?

Hello there, I am currently trying to understand better how parallelism works in Akka Streams. For that purpose, I built a simple stream in a parallel and a sequential way to see the difference. But...

View Article


Are persist and stash invalid together?

It appears as though I cannot persist and then stash like so: return Effect().persist(new SomeEvent()) .thenRun(s -> Effect().stash()); Is this expected? Returning just the Effect().stash() does...

View Article

Pool Slot was Shut Down

Hello, I have a four node cluster running with K8 in Minikube locally, with sharding. Everything is functioning as normal. I use K8 API with AKAK Management for cluster formation and discovery....

View Article


Receptionist semantics: Register, Subscribe. Possible unsafe code in...

In the Actor discovery section of the documentation there is an example where Actor A spawns Actor B, and in Actor B’s setup they register with the Receptionist. However immediately after spawning...

View Article

How to use pipeToSelf in EventSourcedBehavior

Hello Everyone, In my EventSourcedBehavior, I’d like to call some functions that return a Future in the command handler. Based on the example in the documentation, I start using pipeToSelf to get the...

View Article


StreamRef or Akka actor?

Hello Community, I am new to Akka and looking for advice on the best approach to implement the following: I have an event-driven system. The pipeline does the following: ingest events (Kafka) ->...

View Article

Couchbase 3.0.x support for akka-persistence-couchbase or for alpakka

Hi, Latest akka-persistence-couchbase plugin for journalling events uses alpakka which internally uses couchbase-client-2.7.13 which seems quite older version. Can it be possible to update it with the...

View Article

Throwing exception in future callback

Does throwing an exception in a Future callback result in the Actor’s suspension (the actor in which the future callback code is). Just want to make sure because technically that code is not...

View Article
Browsing all 1369 articles
Browse latest View live


Latest Images