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

Proxy Use Case support CONNECT Method

@apps4u wrote: Hi, My use case is to use reactive streams to make an efficient proxy (functioning similar to https://docs.mitmproxy.org/stable/concepts-howmitmproxyworks/ or squid) to protect children...

View Article


Why no reuse of `Behavior` enclosing class?

@ignatius wrote: Just getting my hands dirty with Akka Typed. In the docs of this heading, under the third code-block, it says, That’s nice. One thing to be cautious with here is that it’s important...

View Article


Garbage collection and actors

@noahf wrote: Hello! First post. I have created a pattern where I am spawning an actor to aggregate results from other actors. Once its task is completed, it sends the results back to requesting actor...

View Article

In Akka Typed, what constitutes an Actor

@ignatius wrote: I’m coming from Classic Actors and I’m learning Typed Actors. I’d like to gain some more intuition about the relationship between the ActorContext and a Behavior. With classic Actors...

View Article

Dynamicaly change roles of a node

@reggie31 wrote: is it possible that changing a node’s role on the fly? Posts: 3 Participants: 2 Read full topic

View Article


Communicate with akka cluster nodes in docker from outside

@jewertow wrote: I have a system written in akka and we use akka-remote to communicate over the network. For now we need to run two actor systems in docker containers deployed on one machine and one...

View Article

I really enjoy working with Akka Typed

@ignatius wrote: This is a bit of a meta-post. When I first moved from Java to Scala (after several other languages, I started young), it was like a dream. Type-safety, elegance, a breath of...

View Article

Understanding Akka Streams - play-socket.io

@stephen-lane wrote: Hi All and Happy new Year. Over the last couple weeks I have been learning about akka and akka streams and am very excited about their potential for various projects that I work...

View Article


Using multiple sources with Transactional.sink

@Vasily wrote: Hello, I’ve noticed that it’s impossible to use Transactional.sink with data coming from different sources (different topics from the same kafka cluster) because there’s a check in...

View Article


groupBy within akka stream

@willgu wrote: Hi everyone. I was testing my stream and found the following phenomenon. Source((0 until 100).zipWithIndex) .groupedWithin(10, 10 millisecond) .map { seq => seq.groupBy(x => x._1...

View Article

Recover Element from ActorFlow.ask() AskTimeoutException

@flo wrote: Hi, I am wondering what the best way is to get hold of the element which caused the AskTimeoutExcpetion in a flow like this one so that I can send the “faulty” element to a special...

View Article

JDBC (Oracle) persistence of JSON payload

@richardbezerra wrote: Hi Everyone, My main question is: is there a way to use the JDBC plugin for Oracle just replacing the default serializer for a JSON serializer? I have found some content in the...

View Article

Ideas on how to implement a latency monitor which wraps a flow

@marc wrote: Hello everyone I need to collect a metric on how much time each event spent in a certain flow. The main use-case is to collect the time the ElasticsearchFlow spent writing each element....

View Article


State inside of flow operators?

@ignatius wrote: Is mutable state allowed inside of flow operators, as long as the state does not escape the operator? Source(1 to 100) .async // let's introduce threat-safety issues .map { var...

View Article

Akka 2.6.1 ConfigException$BadPath

@flexvalley wrote: Hello, I’m upgrading my Akka project to 2.6.1 and Scala 2.13. I’m using java 11. I have some problems around my upgrade, one of these I created a simple test unit: public class...

View Article


How to create resizable pool router with new Typed router API?

@iLoveZod13 wrote: Hi there, I am trying to create resizable pool router with Akka Typed API. But it seems that new Typed router API does not support resizable pool. Does this mean I will have to...

View Article

Recovery of persistent actors

@wenxzhen wrote: Dear experts, I am doing some investigations on the integration of Akka into our trading system. Basically we would like to create the actor with persistence and snapshot per Order....

View Article


Alpakka Kafka 2.0.0 released

@ennru wrote: Dear hakkers, We are happy to announce the general availability of Alpakka Kafka 2.0.0! Alpakka Kafka 2.0.0 uses the Apache Kafka client 2.4.0 which contains improvements to the...

View Article

DistributedPubSubMediator - Horizontal scalability?

@stephen-lane wrote: Hi Folks, Thanks in advance for reading my topic, Im looking at the akka DistributedPubSubMediator, and it would be perfect for my use case, except i’m not sure about its...

View Article

Efficient creation of large number of stateful Actors

@simha wrote: My query is on how to efficiently create large number of stateful Actors. For example, a Bank Account Actor which stores balance as its State. As Actor follows Isolated mutability, they...

View Article
Browsing all 1362 articles
Browse latest View live