Re: [akka-user] [Streams 1.0-M4] Compatibility with Akka-2.4-SNAPSHOT?

2015-03-04 Thread Björn Antonsson
Hi Jim,

The job of moving streams to 2.4 will be started as soon at it has reached a 
stable state on 2.3. There is no ETA for a streams port to 2.4, but rest 
assured that it will be available before 2.4 is released.

B/

On 3 March 2015 at 19:48:07, Jim Hazen (jimhazen2...@gmail.com) wrote:

Is there an ETA for akka-http on 2.4?

According to Mathias, Spray won't be ported to 2.4: 
https://groups.google.com/d/msg/spray-user/x0KdMn_7exE/B8Rp2xuSa2sJ and 
according to you akka-http also isn't yet ready for 2.4.

I'd like to develop a REST service that takes advantage of cluster sharding 
with rememberEntries support and that's somewhat difficult at the moment. 
--
 Read the docs: http://akka.io/docs/
 Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
 Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--
Björn Antonsson
Typesafe Inc. – Reactive Apps on the JVM
twitter: bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
March 16th-18th,
San Francisco

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] [Streams 1.0-M4] Compatibility with Akka-2.4-SNAPSHOT?

2015-03-03 Thread Jim Hazen
Is there an ETA for akka-http on 2.4?

According to Mathias, Spray won't be ported to 2.4: 
https://groups.google.com/d/msg/spray-user/x0KdMn_7exE/B8Rp2xuSa2sJ and 
according to you akka-http also isn't yet ready for 2.4.

I'd like to develop a REST service that takes advantage of cluster sharding 
with rememberEntries support and that's somewhat difficult at the moment. 

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] [Streams 1.0-M4] Compatibility with Akka-2.4-SNAPSHOT?

2015-03-02 Thread Jim Hazen
Are these 1.0-M4 modules intended to be compatible with akka-2.4-SNAPSHOT?

I'm having trouble passing a custom materializer to an 
IncommingConnection.handleWithAsyncHandler().  The default materializer 
seems to work fine, but I wanted to play with buffer sizes.

implicit val materializer = ActorFlowMaterializer()
val matSettings = materializer.settings.withInputBuffer(16, 32)


Http().bind(interface = 0.0.0.0, 5001).runForeach { conn =
  conn.handleWithAsyncHandler(r = 
Future(HttpResponse()))(ActorFlowMaterializer(matSettings))
}.onComplete(_ = actorSystem.terminate())


The fails at runtime with:

java.lang.NoSuchMethodError: 
akka.pattern.AskableActorRef$.$qmark$extension(Lakka/actor/ActorRef;Ljava/lang/Object;Lakka/util/Timeout;)Lscala/concurrent/Future;
at 
akka.stream.impl.ActorFlowMaterializerImpl.actorOf(ActorFlowMaterializerImpl.scala:185)
at 
akka.stream.impl.ActorFlowMaterializerImpl$$anon$2.processorFor(ActorFlowMaterializerImpl.scala:92)
at 
akka.stream.impl.ActorFlowMaterializerImpl$$anon$2.materializeAtomic(ActorFlowMaterializerImpl.scala:77)
at 
akka.stream.impl.MaterializerSession$$anonfun$materializeModule$1.apply(StreamLayout.scala:336)
at 
akka.stream.impl.MaterializerSession$$anonfun$materializeModule$1.apply(StreamLayout.scala:334)


I couldn't find akka-stream or akka-http modules as part of the akka-2.4 
distribution.  Is there a better way to experiment with akka-streams and 
akka-http with akka-2.4?  Aside from tweaking the handler's materializer, 
is there another way to control the amount of buffering/demand generated by 
the handleWith* constructs?

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.