Quantcast
Browsing all 1366 articles
Browse latest View live

NoMoreElementsNeeded occurred in S3Stream.download

I’m researching some error occurred in our system using alpakka 3.0.3. Our system composes of S3 source and DynamoDB sink. It was failed with SubscriptionWithCancelException.NoMoreElementsNeeded...

View Article


Use same ActorSource in multiple graphs

Hi. I am developing a WebSockets API. One user can be connected in multiple devices. The issue is that, each Websockets connection has its own graph; that means that a new ActorSource is materialized...

View Article


Testing Consumer.plainSource never sees produced messages

I made a post on stack overflow here that will be easier to read than posting in here. I have a short description of the error and my question below. My current code uses a Consumer plain source to...

View Article

Integrate a flow of a different type easier

Hey guys, I have the following problem quite often: I have a type A and a function that transform it to type B (but a transformation back is not possible). Then I want to run a Flow<B,B,NotUsed>...

View Article

Akka HTTP 10.2.8 Released

Dear hakkers, We are happy to announce the 10.2.8 release of Akka HTTP. This release is a maintenance release, mostly fixing a few smaller issues around HTTP/2 support. Akka HTTP now also supports...

View Article


TLS SSL TCP Actor

Hello there I am trying to implement ssl encryption with tcp server socket. I could achieve it using streams but I am not sure how to achieve it using Actors. For now I am using sslengine.unwrap on...

View Article

Akka-Http : Timeout Client Connection if it's take more than 1s

We are using akka-http and below is our config , How I can timeout http client connection after 1sec ? I tried using connecting-timeout , but it’s not working . Any suggestions ? FYI: I’m already...

View Article

Image may be NSFW.
Clik here to view.

How getOffsetsOnAssign works?

How actually getOffsetsOnAssign in Consumer.plainPartitionedManualOffsetSource (this mean we keep offset externally) works? Will consumer always wait for getOffsetOnAssign or it has a timeout? It...

View Article


Best way integration with Apache Ignite

hi . after read Apache ignite, i understood that have jdbc connector , and i cannot find a Alpaka Connector for it like Apache geode !! then best way is use Slick for connecting to it ?? slick...

View Article


Akka HTTP Client failing OAuth 1.0 Auth header call

I understand there is no implementation for oAuth 1.0 inbuilt with akka so I used MasterCard Api which created OAuth String to be used as header. I used it with Java HttpsURLConnection client, OkHttp3...

View Article

Acessing persistent actor from kafka source

Hey guys, I have a persistent actor. It uses Akka Durable State. I can access that one based on following code sharding.init(Entity.of(PersistentActor.ENTITY_TYPE_KEY, entityContext ->...

View Article

Can not get variable values inside event sourced entity

Hello I have an event sourced entity (TokenRefreshBaseEntity). When it receives TokenRefreshServiceCommand, it makes a json call using Http().singleRequest. After the response, it should set...

View Article

How does .withRouter(new SmallestMailboxPool()) work?

Hi, I am confused how .withRouter(new SmallestMailboxPool(size)) works. I am looking at some code where the actor is spawned like so - system.actorOf(ActorA.props(5), "ActorA") within the ActorA class...

View Article


Image may be NSFW.
Clik here to view.

How to run akka doc samples unit test?

I am learning akka distributed data. sample is akka/ReplicatorDocSample.java at v2.6.18 · akka/akka · GitHub. I download the akka project use idea build it successfully. then i run ReplicatorDocTest...

View Article

Akka and Reactive programming

Hi, i want to ask different between Akka and Reactive. So if i want to make Async action, when should i use Akka instead of Reactive. I think Akka is only for JVM language, is it right 1 post - 1...

View Article


Akka vs rabbitMQ

hi, i am wondering about should i choose Akka or RabbitMQ in message queue. I see maybe two of them can be message queue, but i dont know difference about performance of them. And Akka is only for JVM...

View Article

Optional fileUpload

Hello! A form comes to me from the frontend, in which there are fields and a file (s). My steps are like this: formFields("name") { (name) => fileUpload("photo") { case (metadata, byteSource) =>...

View Article


Recreating actors and selecting non-existant actors

Hi I have two use cases I would like some advice on. 1.) If I stop an actor - and create an actor with the same name, what is the behavior of ActorSelection? In the documentation it says...

View Article

Akka and actor usecase

I know Akka can create a lot of Actor, each platform thread can handle a lot Actor, so is Actor equal Object in Java ? When will Actor die ? What happen if we have a lot of Actor, cause to OutOfMemory...

View Article

Order guarantee of messages in akka cluster

Hi, The documentation says order of messages between two actors is guaranteed because the connection between them is a TCP one. But is the order of messages between two actors with different nodes and...

View Article
Browsing all 1366 articles
Browse latest View live