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

Alpakka Kafka reliable delivery

Hi There, Is there any example to replace map async with retries with reliable delivery, as described here:...

View Article


Akka stream design pattern consuming multiple file sources

I have a problem where I am asked to use akka streams to design a search API to look for data into several related .tsv files. One has to be read after the other in order to produce the desired...

View Article


EventSourceBehavior persist multiple events - how is the event handler invoked?

I have a question that I could not find a clear answer to from the documentation alone. Regarding EventSourceBehaviour, when persisting multiple events via Effect.persist(...). Is there any guarantee...

View Article

Image may be NSFW.
Clik here to view.

Akka Persistence - ORA-00942: table or view does not exist

Hello, I am new to everything Akka. I’ve setup a POC project/app with Akka Persistence with an Oracle DB instance. When I run the Akka app, I get the following error:...

View Article

Shard region not getting registered to coordinator

We are using persistence actor to store actor state in postgresql. We enabled rememberEntities feature (with persistence as a state store for maintaining shard data) to have all actors in in-memory....

View Article


Akka 2.6.14 released

Akka 2.6.14 Released Dear hakkers, We are pleased to announce a new patch release of Akka 2.6. This release brings an updated version of Jackson for akka-serialization-jackson to fix a security issue...

View Article

Retrying in OutputHandler

Hi, How should I trigger on retry in OutputHandler#onPull ? The API I use (Pravega) is blocking and returns null on timeout. I’ve ended with the scheduleOne 0, it works fine AFAIU, but I’m not very...

View Article

Image may be NSFW.
Clik here to view.

Tuple2 or japi.Pair in core?

How can I provide a clean java and scala API with Tuple2 in Flow or Sink type ? Should I explicitly use akka.japi.Pair ? I don’t know if it is even possible :-/ github.com/akka/alpakka issue 2431...

View Article


Sbt akka grpc plugin could not be resolved from bintray

Hi all, One of my projects that has dependencies on addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "1.0.2") could not be resolved by sbt and got 403 from bintray: [error] download error:...

View Article


How to handle null state in return of event handlers for EventSourcedBehavior

I’m handling events with newEventHandlerBuilder(), and notice that if I return “null” for a state, the event will be handled by multiple handlers, for example, with this code eventEventHandlerBuilder...

View Article

Over Sized Message Channel

Hi, I have oversized message channel configured for certain actors as below. remote { artery { enabled = on transport = tcp large-message-destinations = [ "/system/sharding/*",...

View Article

On the positive impacts of Project Loom and Akka

I’m curious as to the thinking of how the forthcoming Project Loom may positively impact Akka, and in particular, its actors and the way they are developed. In short, Project Loom encourages the use...

View Article

Handling of custom or invalid status codes

Looking for guidance on the best way to handle things like invalid status codes. Currently matching on IllegalResponseException in order to gracefully recover when the client receives an invalid...

View Article


Problem about running Cinnamon

when i want to use Cinnamon to generate metric about may app, i get an error. [INFO] [04/19/2021 01:59:35.403] [main-1] [Cinnamon] Agent found Java Futures version: 11.0.6 [WARN] [04/18/2021...

View Article

Scala Mixins with Akka

Good morning, I am tying to work with Scala Mixins and I need to override some Actor functions, is this possible please? And if yes, could you kindly guide me on how to work about it please ? Thanks a...

View Article


Alpakka Kafka 2.1.0-RC1 released

Dear hakkers, Alpakka Kafka 2.1.0-RC1 uses Apache Kafka 2.7.0 and Akka 2.6. Please give this release a spin and report any issues so we can cut a final release soon. Noteworthy changes Kafka 2.7.0...

View Article

Akka support for EC?

Hi, Are there any good solutions if you want to use TLS with EC? I was going through the configuration and it states these limitations. # The Key setup this implementation supports has some...

View Article


Akka stream Source only change the internal state of the elements

Current I should use map method to achieve it: Source<MyObject, NotUsed> source = Source.single(myObject).map(myObj → { //1.change internal state of the object //2.return the object itself...

View Article

Akka Projections 1.2.0 released

Dear hakkers, We’re happy to announce the release of Akka Projections 1.2.0. Changes since 1.1.0 New functionality to pause and resume projections, see documentation, #25 Fix case of table names...

View Article

Using mapConcat with PassThroughFlow can result to a dead lock?

Hi, I would like to have a confirmation about the usage of PassThroughFlow. Reading the documentation, the following quotes make me think that the usage I’m doing is wrong : This flow combinator is...

View Article
Browsing all 1362 articles
Browse latest View live