akka-stream Questions
2
Solved
I would like to chain http request using akka-http-client as Stream. Each http request in a chain depends on a success/response of a previous requests and uses it to construct a new request. If a r...
Anschauung asked 11/9, 2016 at 15:31
3
Solved
I am working with a data publisher from a java library that I do not control. The publisher library uses a typical callback setup; somewhere in the library code (the library is java but I will desc...
Hesson asked 3/4, 2015 at 16:47
2
I'm currently trying to dynamically create Akka Stream graph definitions at runtime. The idea being that users will be able to define flows interactively and attach them to existing/running Broadca...
Interoceptor asked 26/4, 2017 at 16:30
5
Solved
I am currently working with Akka Stream Kafka to interact with kafka and I was wonderings what were the differences with Kafka Streams.
I know that the Akka based approach implements the reactive ...
Maulmain asked 11/8, 2017 at 6:17
3
I have an external (that is, I cannot change it) Java API which looks like this:
public interface Sender {
void send(Event e);
}
I need to implement a Sender which accepts each event, transform...
Slavism asked 30/11, 2018 at 8:57
1
I've been trying to set-up some instrumentation for Akka streams. Got it working, but, even though I named all my Flows that are part of the streams, I still get this sort of names in the metrics: ...
Cremator asked 24/11, 2016 at 18:12
1
I'm new to akka-streams and not sure how to approach this problem.
I have 3 source streams are sorted by a sequence ID. I want to group the values together which have the same ID. Values in each s...
Racialism asked 19/4, 2016 at 16:10
4
Solved
I use Akka Stream on Scala. I'd like to set a scheduler which runs on every 24:00. I tried to search for it. But I could't find what I want to do. Could you tell me how to write code?
Tangential asked 20/7, 2016 at 8:15
5
I have an Akka Streams Source which I want to split into two sources according to a predicate.
E.g. having a source (types are simplified intentionally):
val source: Source[Either[Throwable, Stri...
Ambition asked 18/7, 2016 at 14:13
4
Solved
I'm trying to create a simple Proxy for Websocket connections using Play and akka streams.
The traffic flow is like this:
(Client) request -> -> request (Server)
Proxy
(Client) response &...
Lehet asked 12/4, 2017 at 9:22
0
I have a WebSocket server I need to send and receive messages to it over the established WebSocket connection as Akka client-side WebSocket does not provide us the conventional websocket.send() fea...
Cassondra asked 20/8, 2020 at 13:9
3
Solved
In Slick's documentation examples for using Reactive Streams are presented just for reading data as a means of a DatabasePublisher. But what happens when you want to use your database as a Sink and...
Gammon asked 4/4, 2016 at 10:27
3
Solved
Why is the exception in
import akka.actor.ActorSystem
import akka.stream.ActorMaterializer
import akka.stream.scaladsl.Source
object TestExceptionHandling {
def main(args: Array[String]): Unit =...
Davila asked 25/2, 2016 at 15:38
2
I need to call an upstream service (Azure Blob Service) to push data to an OutputStream, which then i need to turn around and push it back to the client, thru akka. Without akka (and just servlet c...
Tess asked 5/4, 2020 at 2:56
2
Solved
While exploring Akka streams, I also came across Apache Flink which stream processing engine.
Akka streams implements reactive streams and supports back pressure.
So if I have to make decision be...
Recline asked 23/4, 2020 at 10:5
3
Solved
How to instantiate a materializer for AkkaStreams when I have a reference to the typed actor system?
The code below does not compile, it says that ActorMaterializer is missing an implicit ActorRefFactory. How should I provide one?
val guardian: Behavior[Done] = Behaviors.setup(_ => {
Behavior...
Carreno asked 13/2, 2020 at 8:56
2
I am trying to figure out how to work with slick streaming. I use slick 3.0.0 with postgres driver
The situation is following: server have to give client sequences of data split into chunks limite...
Tumid asked 10/7, 2015 at 12:13
1
Solved
Since 2.6 i get deprecation warning on this line:
import akka.stream.ActorMaterializer
implicit val actorMaterializer = ActorMaterializer()
Warning:
method apply in object ActorMaterializer...
Holinshed asked 8/11, 2019 at 14:24
0
I have a question.
I have Akka HTTP Server and using Akka HTTP Client. The Client does a lot of external calls basically with Http.singleRequest(). This takes a lot of time and sometimes User clo...
Domela asked 27/9, 2019 at 14:8
3
Solved
I have example code to generate an unbound source and working with it:
object Main {
def main(args : Array[String]): Unit = {
implicit val system = ActorSystem("Sys")
import system.dispatcher...
Kan asked 16/3, 2015 at 9:5
3
Solved
I would like to create a Source and later push elements on it, like in:
val src = ... // create the Source here
// and then, do something like this
pushElement(x1, src)
pushElement(x2, src)
What...
Forbore asked 21/6, 2015 at 13:4
2
Solved
I want to read multiple big files using Akka Streams to process each line. Imagine that each key consists of an (identifier -> value). If a new identifier is found, I want to save it and its val...
Janice asked 18/6, 2016 at 22:52
4
Solved
Is there an idiomatic way of handling Akka stream's Source first element in a special way? What I have now is:
var firstHandled = false
source.map { elem =>
if(!firstHandled) {
//handle spe...
Peppercorn asked 22/11, 2016 at 13:24
1
Solved
I have a use case where I want to send a message to an external system but the flow that sends this message takes and returns a type I cant use downstream. This is a great use case for the pass thr...
Thoma asked 18/3, 2019 at 11:6
1
Solved
We are trying to use Akka Streams with Alpakka Kafka to consume a stream of events in a service. For handling event processing errors we are using Kafka autocommit and more than one queue. For exam...
Sterner asked 7/3, 2019 at 14:28
1 Next >
© 2022 - 2024 — McMap. All rights reserved.