Dear Hakkers,
we—the Akka committers—are exceptionally proud to present the first RELEASE CANDIDATE or Akka Streams & HTTP. While this is not the end of the journey—several features are going to be added after 1.0—the time has come to declare a (very) useful subset of the intended functionality ready for public consumption. Since the last milestone we have added the following high-level features:
a TestKit for streams
proper naming for all parts of a flow topology (see .named)
add SslTls stage including support for session renegotiation
added ActorRefSink and ActorRefSource for simple Actor integration
data flow logging by a prepackaged combinator (see .log)
Source and Sink for files (using FileChannel) as well as for InputStream/OutputStream
HTTP client with connection pooling and idempotent request retry
… and (wait for it) … Websockets :-)
In addition we fixed many small things, as usual, and we also did some last renames and reorganizations in order to offer a consistent API:
Java functional interfaces moved to akka-actor (2.3.10, see akka.japi.function)
improved Java compilation error messages by adding arity to method name in flow factories
made OperationAttributes language-independent and also extensible, dispatcher and supervision properties moved to ActorOperationAttributes
removed .section in favor of .withAttributes and .via
moved FlattenStrategy into the Java/Scala DSLs
reorganized the project structure and package hierarchy of HTTP to offer consistent and equivalent Java & Scala APIs
relaxed method signatures to accept Graphs instead of the more specific Source/Flow/Sink types to enable free reuse of blueprints between Java & Scala
renamed StreamTcp to Tcp and the bind method takes interface and port parameters instead of InetSocketAddress
On the State of HTTPS
While we now have all the ingredients—SslTls and HTTP are BidiFlows that can be connected—we do not yet have nice convenience APIs for using HTTP and SSL together. This will come in one of the next releases, perhaps even before 1.0.
Things that are Known Missing
The cookbook section of the streams documentation has not yet been ported to Java, but the text of the Scala version applies to both languages. More documentation will follow in general, in particularly SslTls currently only has API docs.
The akka-http-core module is still missing the Java side of the multipart model (#15674). Working with HTTPS (client- and server-side) is not yet as easy as it will be. Additionally not all of the directives that make up the high-level server-side API in akka-http-scala have proper counterparts in akka-http-java (#16436). We will close these gaps shortly.
General Notices
The complete list of closed tickets can be found in the streams-1.0-RC1 and http-1.0-RC1 github issues milestones.
For the full stats see the announcement on the website.
The activator templates have also been updated:
We’d like to thank all of you for testing and for providing feedback on our progress.
Patrik Nordwall
Typesafe - Reactive apps on the JVM
Twitter: @patriknw
By the wayThese packages seems to be missing:com.typesafe.akka:akka-http-experimental_2.11:1.0-RC1com.typesafe.akka:akka-http-testkit-experimental_2.11:1.0-RC1Looked at the Maven repo and RC-1 were not present:/Magnus
Den fredag 24 april 2015 kl. 22:47:07 UTC+2 skrev Magnus Andersson:Very nice work! Excited to get started.I was asking about TLS for akka-http just a few hours ago in another thread. Really hoping you manage to squeeze the high level APIs into 1.0.In the mean time, are there some examples of SSL+HTTP (HTTPS) for client connections? I don't mind using streams and switch it out later when APIs become available./Magnus
--
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
>akka-http-testkit-experimental_2.11 changed to akka-http-scala-experimental_2.11.Thanks for the clarification. Could you please update http://akka.io/docs/ as there are names without "scala" suffix there.
--
--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
I too would prefer to see the curried style used for the reasons @Odd mentioned.
--
--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
28 apr 2015 kl. 14:20 skrev Oliver Ruebenacker <cur...@gmail.com>:Hello,Sorry, I don't see how this:
.mapAsync(parallelism = 7) { res =>...}
is any better readable than this:.mapAsync(parallelism = 7, { res =>...})The second makes it more obvious that the {...} block is part of a method call.Best, Oliver
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
--
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.