java - Were pipelines removed from akka i/o? -
while learning how use akka i/o trying implement simple protocal on top of akka i/o , following documentation here.
however in gradle file use version 2.3.9 shown below
dependencies { compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.7' compile group: 'com.typesafe.akka', name: 'akka-actor_2.11', version: '2.3.9' compile group: 'com.typesafe.akka', name: 'akka-contrib_2.11', version: '2.3.9' compile group: 'org.scala-lang', name: 'scala-library', version: '2.11.5' testcompile group: 'junit', name: 'junit', version: '4.11' }
import of things pipeline specific like
import akka.io.symmetricpipelinestage; import akka.io.pipelinecontext; import akka.io.symmetricpipepair;
generate can not resolve symbol errors.
hence questions.
- were these removed or there dependancy need add gradle file.
- if removed, how encod/decode stage dealt with?
pipelines experimental , indeed removed in akka 2.3. removal documented in migration guide 2.2.x 2.3.x.
there mention of being able package "older" pipeline implementation akka 2.3 here, though doesn't appear simple addition of dependency.
i wager akka streams intended better replacement of pipelines, coming in akka 2.4, available experimental module. encode/decode stage or protocol layer can handled using akka streams in conjunction akka i/o.
Comments
Post a Comment