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

Akka http2 upgrade does not work, throws IllegalArgumentException "Cannot...

Hello, in our akka.http server, I try to enable http2 support with config akka.http.server.preview.enable-http2 = on. I test the connection upgrade with curl by sending curl.exe -v...

View Article


Upgrade to HTTP2 fails, throws Exception "Cannot pull port"

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Source.future vs Source.futureSource

Hi Akka Team, I`m wondering which option is a better one to get source from future of http response: val httpResponse: Future[HttpResponse] = ???...

View Article

Dependent Events?

I’d like to generate events that are dependent on another event. For example, I have a situation where I spawn a CreateAbstractTask command. When the task is created I have a CreatedAbstractTask...

View Article

Enforcing ordering guarantees on database changes

Hello, we have an actor system that accepts events coming in externally, processes them and sometimes makes database changes (CREATE/MUTATE/DELETE). Database changes can only be made as a result of a...

View Article


Typed ActorTestKit and ActorContext spawn function

I have complex component implementation which internally needs to create actor/s for example: class SubComponent(actorContext: ActorContext[_]) { private val a = actorContext.spawn( ... ) } class...

View Article

Image may be NSFW.
Clik here to view.

Akka persistence DB reads are slow. Can we control DB read throttling for...

Hi, we are using Lagom framework and Akka Persistence is main stream for our applications. I wonder if we can set configures to adjust DB read throttling such as frequency or maximum count limit of...

View Article

Granularity of the Behavior defined for an Actor

My understanding is that we define Behavior and pass it on to the method ReceiveBuilder.onMessage while spawning an actor. Whenever the actor receives a message, the corresponding Behaviour is...

View Article


Is it common to stop child actors in event sourcing?

I am building an event sourced system using the shopping cart example in the Lightbend docs. There is a persistent actor for each aggregate root (shopping cart in the example), which makes me wonder...

View Article


2.6.x CoordinatedShutdown reason

Hi, I’m looking at a way to automatically restart Akka Cluster nodes. Currently, we just register a JVM shutdown hook, and exit with a fixed status. This doesn’t allow differentiating between a...

View Article

Aggregate root communication patterns

My question is regarding communication between aggregate roots in event sourcing using Akka persistent actors. Specifically, if I want an aggregate root to respond to an event that happened in another...

View Article

Graal native image with akka

What’s the current best way to compile akka to graal native image? I’ve looked into this repo, but any better approach to generate the Graal Native config files for Akka? vmencik/akka-graal-native:...

View Article

Comparing Akka persistency and SQL Server relational DB

Hello I am coming from relational DB and monolithic application background and trying to understand Akka. There is one thing confusing me about Akka persistency. In relational DB’s you assign server...

View Article


Akka a lot of (100+) threads with "TIMED_WAITING (parking)"

Hi folks, I am experiencing a problem with a huge amount of parked threads on my server. I am not doing any long-running blocking work in my actors. Do you have any idea how to fix such a problem, or...

View Article

I Migrated from ( Elixir / Rust-Tokio ) world

hi. I migrated from ( Erlang/Elixir , Rust Tokio ) for reasons : Rust come with banner : ( zero abstraction ) BUT !! Don’t support async completely and we had use some trick and we forced to use...

View Article


Huge number of threads with "TIMED_WAITING (parking)"

Hello Akka friends, I am observing my 100-thread threadpool regulary being exhausted by Akka. I am taking extra care to not do long blocking operation in my actors. However, I am using...

View Article

Losing reference to materialized value with Sink.lazyInit + SubFlow

I am currently in the process of using DrainingControl.apply in order to provide a convenient way to shut down an akka-stream that is committing Kafka cursors as described in Consumer • Alpakka Kafka...

View Article


Image may be NSFW.
Clik here to view.

Akka is died ecosystem?

hi. I’m Elixir developer but love Akka ecosystem. (stream, http, grpc) but when i search in internet not saw any new article, all youtube video, conf is older than 2017. specially play framework i...

View Article

Akka persistence eventual consistency settings

Hello, I have a question regarding akka.persistence.cassandra.events-by-tag.eventual-consistency-delay option: In the reference.conf for this option it is written: # Setting this to anything lower...

View Article

discardEntityBytes and "Pending: Automatic discarding of not used entities"

Docs page: Implications of the streaming nature of Request/Response Entities I’m trying to understand if discardEntityBytes still needs to be called on http responses? The bottom of the doc has...

View Article
Browsing all 1367 articles
Browse latest View live