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

Alpakka Kafka 3.0.0-RC1 released

Dear hakkers, We’ve just released Alpakka Kafka 3.0.0-RC1 which features the upgrade to the current Kafka client library 3.0.0. Alpakka Kafka’s API is unchanged compared to version 2.1.1. More details...

View Article


How many actors ShardedDaemonProcess starts in Akka cluster?

Hi, I need clarification about ShardedDaemonProcess (SDP).For example, SDP runs three actors (three tags). If I run (run it on every node) SDP in Akka cluster with three nodes would I have total three...

View Article


How to support Apple Silicon/M1 development

akka-grpc currently does not support code generation on Apple Silicon/M1 - it uses the protoc-jar 1 project, and this does not currently support the aarch_64 platform. Normally I would just create PRs...

View Article

Lost data when reboot akka system

I am using akka persistence framework recently to solve an aggregate computing problem, the amount of data is a bit large, the upstream is kafka, the downstream is kinesis, but every time when I...

View Article

Max-open-requests and natural back-pressure

Hello guys, here goes pseudo code just to give background about composition I have at hand. Source .queue(…) .via { Http().newHostConnectionPool(…) } .toMat(Sink.ignore)(Keep.left) .run() So as you...

View Article


Image may be NSFW.
Clik here to view.

Akka-projection Getting Started Guide Example: Could not Run EventGeneratorApp

Hello I was trying to run akka-projection Getting Started Guide Example located here: doc.akka.io Getting Started Guide • Akka Projection Akka Projection. I have been able to run tests at “Writing...

View Article

Error handling in RestartSink.withBackoff

Hi everyone, I’m using RestartSink.withBackoff to recover from a sink failures (in my case a MongoSink). Everything works well, when there is an exception while persisting to the db the stream does...

View Article

Alpakka Kafka 3.0.0 released

Following up on last week’s release candidate, we’ve just released Alpakka Kafka 3.0.0 which features the upgrade to the current Kafka client library 3.0.0. Alpakka Kafka’s API is unchanged compared...

View Article


How to receive JmsConnectorState when using RestartSource.withBackoff

Hi. I’m want to receive the current JmsConnectorState, but how can I receive this if the RestartSource.withBackoff returns NotUsed materialize? My code: def jmsSource(): Source[AckEnvelope,...

View Article


java.lang.RuntimeException: 5377 from akka projection with cassandra

Hi, Can I get some tips on troubleshooting this error? Jan 28 16:28:20 compute2 nt-ui[822370]: Restarting stream due to failure [1]: java.lang.RuntimeException: 5377 missing tagged events for tag...

View Article

Image may be NSFW.
Clik here to view.

Akka MQTT Streaming in java

Hello, I was working with Alpakka MQTT connector and was following doc. doc.akka.io MQTT Streaming • Alpakka Documentation Alpakka is a Reactive Enterprise Integration library for Java and Scala,...

View Article

Dependency injection in akka typed

Hello Here, I need help with regards to dependency injection in akka-typed; Aside of constructor injection, do we have any other injection type that can be used without the need for an external...

View Article

Alpakka S3 doesn't read S3's response in case of an Exception in the upload...

We recently experienced some issues regarding uploading files in a streaming fashion to S3, that cause Exceptions during the upload, due to an invalid encoding. We use Alpakka AWS S3 for this and...

View Article


Working with eof for a Source/Flow

I have come across an interesting usecase in regards to stream boundaries and detection of eof. In context I am dealing with is using an asynchronous JSON parser that is specifically designed to...

View Article

What parallel value should I set for Akka Kafka consumer when we scale out...

Hello, we are using Kubernetes for Akka clustering deployment and management. Basically, we have 3 replicas or pod to build Akka clustering. Each pod application code is subscribing Kafka topic with...

View Article


Alpakka S3 how to specify start-after when listing objects in a bucket

Hello, i’m trying to list objects in a bucket using S3.listBucket but since there can be many entries, i would like only the most recent ones, assuming that new entries follow a lexicographical order,...

View Article

Akka cluster not waiting for all nodes to be up

I am starting an akka cluster, and in the config I have specified min-nr-of-members = 3 however, when I start the main application - the cluster starts without any of the members having joined. This...

View Article


RestartFlow.onFailuresWithBackoff not restarting on failure

We are encountering an unexpected behavior from: RestartFlow.onFailuresWithBackoff(restartSetting)(flowFactory: () => Flow[In, Out, _]) See RestartFlow.onFailuresWithBackoff. We’re using:...

View Article

Updatet "sbt-akka-grpc" to 2.1.2

I have updated sbt-akka-grpc from 2.1.1 to 2.1.2. At this time, there is no compile error, but when I make a request to the launched server with grpcurl, it fails. Failed to process proto descriptor...

View Article

Could not get the result from an HTTPS JSON Call with Bearer

Hello I am trying to call a secure service using HTTP POST with JSON format (in and out). I do not get any error but I have not been able to write the result to log or to terminal to see it. Would you...

View Article
Browsing all 1362 articles
Browse latest View live