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

[Akka-Stream] How to let the groupBy operator without limited substreams?

Currently the groupBy operator need to set max substreams, but the application is streaming application , I can’t get the number of max substreams. 1 post - 1 participant Read full topic

View Article


Reliable Delivery with Sharding

I’m trying to understand the shiny, new Reliable Delivery (Sharding). I’m not sure if I understand it correctly and therefore I’m not sure if it is a good choice for the problem I’m facing. Let me...

View Article


AMQP - CommittableReadResult

Can akka.stream.alpakka.amqp.scaladsl.CommittableReadResult be sent over the wire to another actor and then used by the target actor to invoke ack/nack method on it ?? 1 post - 1 participant Read full...

View Article

Alpakka S3 connection issue

Regardless what I try, I’m not able to connect to an aws s3 endpoint. I’m running minio locally on my computer. In another project I’m using alpakka-s3 v1.1.2 and it works, also using the browser to...

View Article

How to configure Flow on the fly?

Hello everybody! I have a simple question. Let’s say there is a Flow depending on some configuration parameter: Source -> Flow(Parameter) -> Sink Source emits data pretty fast - every second....

View Article


Actor doesn't seem to manage State [Beginner Help]

I am new to Akka and to Scala and I built a small system to check whether a Sudoko configuration is valid: https://github.com/nsadeh/Sudoko/blob/master/src/main/scala/sudoko/Main.scala. It basically...

View Article

Akka streams exception handling

Hi, What is the right way to handle exceptions in akka streams? Closing the stream and retrying is not an option as the failure happens due to invalid properties of the stream element: the exception...

View Article

Combine MergeHub with MergePrioritized

Hi there, I am trying to create the following graph: * +--------+ * +-------->| Prio 1 |+ +-----------+ * | +--------+|---------->| MergeHub1 |---------+ * | +--------+ +-----------+ | * | | *...

View Article


Alpakka and Amazon QLDB

I do not see an alpakka connector for the Amazon [QuantumLedger} QLDB. I did notice that the connector for DynamoDb ( a somewaht similar Amazon offering ) has a Lightbend copyright, so it was done...

View Article


Simple EventBus with Akka

I am looking for a simple even or message bus to distribute events within my application. I already looked into Guava’s EventBus, but this does not appear to be asynchronous. During my investigations,...

View Article

Kafka Transactional Producer

Hi, Does Kafka Alpakka supports out of the box transactional producer, I mean like transaction on Producer part only where transactions are committed such as this producer.initTransactions(); try {...

View Article

Image may be NSFW.
Clik here to view.

Testing Persistent Actors with an initial set of events

Hi All, First: Great to see thing coming like the Akka-projections. Slowly but surely our ‘own’ DDD framework becomes obsolete Now, we still use our framework and did some porting to typed actors....

View Article

Can Akka Typed be integrated with Spring Boot?

Previously I can integrate classic Akka with Spring Boot by following the article: https://www.baeldung.com/akka-with-spring, which brings the two best worlds together. With Akka Typed, how can I...

View Article


Image may be NSFW.
Clik here to view.

Shukra: A tool for visualizing and managing Akka clusters

GitHub Headstorm/shukra Akka cluster visualization UI and management dashboard - Headstorm/shukra 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Follow up to "Add `aroundRequest` directive which captures complete request /...

Hi all, My colleagues and I have been looking into ways to capture metrics around request/response processing in akka-http. Following from issue #2216 and taking into account the 3rd party attempts...

View Article


How splitWhen works?

Hello everybody! I’m playing with akka streams and got something I don’t understands. I have simple code: Source(1 to 100) .throttle(1, 100.millis) .map(x => {println("raw "+x);x}) .groupBy(10, _ %...

View Article

Splitting an Akka stream

Is there a way to split an Akka stream? My use case is downloading a file from a http URL on GET request and then streaming it to the client as as well as a local file. 2 posts - 2 participants Read...

View Article


Handle the Exception when it is thrown in a Typed Actor

Hi All, I like to catch and store the exception thrown in a typed actor. I see 2 options here: Behaviors.supervise(handler).onFailure(MySupervisorStrategy) -> having your own supervisor strategy...

View Article

Alpakka Kafka message header

Hi, We use alpakka from Lagom for publishing messages to Kafka topic and later read them from Kafka topic (alpakka is used here also). Is it possible to add some data to Kafka message header so we...

View Article

mapAsync for custom stage

Hello, I couldn’t find clear answer to my question so I’ve decided to post it here: I have stream that must preserve order to ack appropriately on Kafka using Commiter...

View Article
Browsing all 1362 articles
Browse latest View live