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

Unable to fetch the elements from stream source

Overview I have two microservices called warehouse-microservice (server) & grocery-microservice (client). And I’m trying to implement a streaming request & streaming response between them...

View Article


EventStream -- Do stopped Actors need to Unsubscribe?

Do I need to send Unsubscribe in the PostStop or PreRestart or my GracefulShutdown handler? Will EventStream eventually clean up subscriptions to unresponsive actors? 1 post - 1 participant Read full...

View Article


Alpakka with Akka cluster samples?

Hello, My team is trying to evaluate whether we can use Alpakka with Akka cluster to build some sort of distributed stream processing service (part of a bigger solution) … we’re using Java, most data...

View Article

Source.queue bug?

My code is below val (chromeQueue, chromeSources) = Source .queue[Int](1, OverflowStrategy.dropNew) .preMaterialize() val (orderQueue, orderSources) = Source .queue[String](1,...

View Article

How to address duplicate key value violates unique constraint "journal_pkey"...

For my Akka Typed Persistence service, I’ve turned on remember entities for a couple of my entities. For the both of those actor types, I’m getting a PSQLException: ERROR: duplicate key value violates...

View Article


Akka Persistence JDBC: Adding columns to the journal table

I am working with Akka Persistence JDBC version 3.5.2 and have a use case where I need to add a column to the “journal” table, especially a column to save the timestamp when the event was persisted....

View Article

IO(Udp) SimpleSender has message size limits. What are they?

I keep getting the following debug logging from the Classic Networking IO(Udp) par of Akka. 09:11:16.029 [eCPRISpec-classic-akka.actor.default-dispatcher-10] DEBUG akka.io.SelectionHandler - Message...

View Article

Migration from Akka 2.5 to 2.6 caused deadlock

I used to maintain pretty huge app on top of Play 2.7 (Akka 2.5). Bumping Play version to 2.8.8 caused random deadlocks during startup. Unfortunately, app does not strictly follows “do not block”...

View Article


Akka Persistence: java.sql.SQLSyntaxErrorException: ORA-04043: object...

Hello, I am trying to use Akka Persistence JDBC (“com.lightbend.akka” %% “akka-persistence-jdbc” % “5.0.1”) with Oracle and have created the schema and tables as mentioned at oracle-create-schema.sql....

View Article


ClusterSharding.Passivate going to Dead Letters

I am seeing ClusterSharding.Passivate messages going to dead letters after sending to the ActorRef[ShardCommand] passed in my entity: [2021-07-23 17:21:24,844] e[34mINFO e[0;39m...

View Article

Image may be NSFW.
Clik here to view.

Release of Alpakka Kafka v2.1.1

Dear Hakkers, We’re pleased to announce the PATCH release of Alpakka Kafka: Release Alpakka Kafka 2.1.1 · akka/alpakka-kafka · GitHub Cheers, 1 post - 1 participant Read full topic

View Article

Handling of connect/disconnect of connections to a TCP Server

I have simple TCP server that echoes back data received from the client connection. I want to do the following When a client connect happens I want to respond back immediately with some data....

View Article

Akka HTTP 10.2.5 released

Dear hakkers, We are happy to announce the 10.2.5 release of Akka HTTP. This release includes a set of performance improvements in the HTTP/2 infrastructure ultimately targeting Akka gRPC performance...

View Article


Alpakka Kafka test Transactional stream

Hello, Is there a concrete example of testing Alpakka-Kafka transactional stream. I have a stream which implements consume-transform-produce flow, which works fine via Main class, but I am not able to...

View Article

Is it possible to be notified if a SourceQueue has overflowed?

In my application, I have an Actor whose behavior involves offering an element into a SourceQueueWithCompletion for each message received by that Actor. If I use backpressure as the overflow strategy...

View Article


EventSourcedBehavior with CircuitBreaker

OK, this might be a very stupid question… haven’t used akka for a while… so I’m sorry: The akka doc describes how to use a circuit breaker with an AkkaActor (see Circuit Breaker • Akka Documentation)....

View Article

When does an Alpakka Consumer get partitions assigned?

We’re using a committableSource with a compacted topic. We are waiting for the consumer to subscribe to the topic using the RebalanceListener to “start” the application. Note: Consumer settings are...

View Article


Akka gRPC/HTTP Interop giving 404

Hello, I have an application running a gRPC service alongside a simple Akka HTTP endpoint. I am following this guide: Akka HTTP interop • Akka gRPC. The problem: when curling the HTTP endpoint I get...

View Article

Image may be NSFW.
Clik here to view.

How can I establish root cause of rejection when empty list is provided

Hello everyone, I have a question about akka-http logRequestResult directive. I’ve added to it function like below to log on debug successful responses, on info error responses and rejections: private...

View Article

About NoMoreElementsNeeded exception

Hi, after recent akka version update, I start seeing this error akka.stream.SubscriptionWithCancelException$NoMoreElementsNeeded$ . Looking at Akka 2.6.15 -...

View Article
Browsing all 1367 articles
Browse latest View live