[akka-user] Unmarshalling failed for decode String from "text/html" HttpEntity From HttpResponse

2016-08-15 Thread Sarah Yin
Hi Akka User List, I'm trying to get the text response from httpResponse as a string. Here's my http call. > val responseFuture: Future[HttpResponse] = Http().singleRequest( > HttpRequest(uri = uri)) However some how I did not have a lot luck in getting the body. Here are the methods I've t

[akka-user] Re: Akks in Scala console

2016-08-15 Thread Sarah Yin
Awesome this works. Thanks a lot On Friday, July 15, 2016 at 10:55:55 PM UTC-7, Sarah Yin wrote: > > Hi, > > I'm trying to run Akka in scala console > > Using > > > scala -cp akka-http-spray-json-experimental_2.11-2.4.8.jar > > > However when I'm trying to get the HTTP model > > import akka.ht

[akka-user] Unmarshaller not working for HttpEntity for text/html response for "Error in stage [unknown-operation]: Promise already completed"

2016-08-15 Thread Sarah Yin
Hi Akka User, I've been trying to Unmarshall HttpResponse and decode it as a String. However All the method I've searched failed in "Error in stage [unknown-operation]: Promise already completed" Has anyone come to this before? Thanks in ad! Here are the Future I want to decode > val respons

[akka-user] Re: Consistent Hashing Group and routee death-watch / recreation

2016-08-15 Thread Muthukumaran Kothandaraman
Just in case anybody is facing similar dilemma. This snippet is working for basic cases. Have not tried all failures yet private void createCHRouterWithRoutees(){ Set routees = new HashSet(); for (int i=0;i > Hi, > > I am using akka 2.4.8 and creating CH Group as following (with my cust

Re: [akka-user] Re: Access Denied Downloading standalone akka_2.11-2.4.9-RC2.zip

2016-08-15 Thread Konrad Malawski
Thanks for reporting, re-uploaded it. S3 was behaving weird it seems. -- Konrad `ktoso` Malawski Akka @ Lightbend On 15 August 2016 at 19:02:56, murtuza chhil (chil...@gmail.com) wrote: Its working now. -chhil On Monday, August 15, 2016 at 8:56:37 AM UT

[akka-user] Re: Access Denied Downloading standalone akka_2.11-2.4.9-RC2.zip

2016-08-15 Thread murtuza chhil
Its working now. -chhil On Monday, August 15, 2016 at 8:56:37 AM UTC+5:30, murtuza chhil wrote: > > Hello, > > Get an error downloading latest standalone release from page > http://akka.io/downloads/ > > The zip downlod link is > > http://downloads.typesafe.com/akka/akka_2.11-2.4.9-RC2.zip?_

Re: [akka-user] Hot Standby Persistent Actor - https://github.com/akka/akka/issues/13938

2016-08-15 Thread Muthukumaran Kothandaraman
Thanks Patrik. I would like to follow this. I assume that the design discussions are confined to the issues link. Are there any pointers in code for understanding how recovery is currently triggered for persistent actors so that I can get warmed up ? I guess that would be a good point for me to

[akka-user] Consistent Hashing Group and routee death-watch / recreation

2016-08-15 Thread Muthukumaran Kothandaraman
Hi, I am using akka 2.4.8 and creating CH Group as following (with my custom HashMapper) Set actorPaths = new HashSet(); for (int i=0;i> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>>

Re: [akka-user] What means of akka cluster roles leader?

2016-08-15 Thread Yutao Shuai
Thanks for your help Konrad. So the return value of this function is the leader of the cluster?

[akka-user] Re: ConductR sandbox linking to another container

2016-08-15 Thread Chris Baxter
Hey Christopher. Thanks for getting back to me. Glad to hear that you have this use case on your road map. In the mean time, I will use the -e option workaround that you suggested. Thanks again. On Monday, August 15, 2016 at 4:04:10 AM UTC-4, Christopher Hunt wrote: > > Hi Chris, > > There's

Re: [akka-user] What means of akka cluster roles leader?

2016-08-15 Thread Konrad Malawski
Duh, my bad. I keep mistaking the use of oldest and leader in this somehow. Thanks for the correction Patrik! On 15 Aug 2016 13:50, "Patrik Nordwall" wrote: > > > On Mon, Aug 15, 2016 at 11:27 AM, Konrad Malawski < > konrad.malaw...@lightbend.com> wrote: > >> Hi Yutao, >> look at the return type

Re: [akka-user] What means of akka cluster roles leader?

2016-08-15 Thread Patrik Nordwall
On Mon, Aug 15, 2016 at 11:27 AM, Konrad Malawski < konrad.malaw...@lightbend.com> wrote: > Hi Yutao, > look at the return type – Option, so it's a single element. > It returns the leader of a given role (role == multiple nodes, 1 of them > is the leader). > I.e. it would host the the Singleton if

Re: [akka-user] What means of akka cluster roles leader?

2016-08-15 Thread Konrad Malawski
Hi Yutao, look at the return type – Option, so it's a single element. It returns the leader of a given role (role == multiple nodes, 1 of them is the leader). I.e. it would host the the Singleton if it were constrained to this role. -- Konrad `ktoso` Malawski Akka @ Lightbend

[akka-user] Re: ConductR sandbox linking to another container

2016-08-15 Thread Christopher Hunt
Hi Chris, There's nothing built in to do this right now. Sounds like what we need to do here is allow the service locator to be configured with an external service. We have this on our to-do list. However you should be able to pass an environment var via the -e option though and have that envi