Hi guys!
Review please - https://github.com/apache/ignite/pull/1998 <https://github.com/apache/ignite/pull/1998> https://issues.apache.org/jira/browse/IGNITE-532 <https://issues.apache.org/jira/browse/IGNITE-532> I'm add Akka Stream and Akka Actor integration, please see the solution. There is a question that the guru scala would like to ask. First implementation actor stream created a trait StreamAdapterTrait (IgniteAkkaActorStreamer.scala), because "extends Actor with StreamAdapter[T, K, V]" as "with" means that the class is using a Trait via mixin. Second implementation actor stream IgniteAkkaActorStreamerJava.scala "extends StreamAdapter[T, K, V] with Actor" use default abstract class StreamAdapter. Which option is better? -- Best Regards, Max K. |
Roman,
Would you mind reviewing the contribution? — Denis > On May 23, 2017, at 8:38 AM, Kozlov Maxim <[hidden email]> wrote: > > Hi guys! > > Review please - https://github.com/apache/ignite/pull/1998 <https://github.com/apache/ignite/pull/1998> > https://issues.apache.org/jira/browse/IGNITE-532 <https://issues.apache.org/jira/browse/IGNITE-532> > > I'm add Akka Stream and Akka Actor integration, please see the solution. > There is a question that the guru scala would like to ask. First implementation actor stream created a trait StreamAdapterTrait (IgniteAkkaActorStreamer.scala), because "extends Actor with StreamAdapter[T, K, V]" as "with" means that the class is using a Trait via mixin. Second implementation actor stream IgniteAkkaActorStreamerJava.scala "extends StreamAdapter[T, K, V] with Actor" use default abstract class StreamAdapter. Which option is better? > > -- > Best Regards, > Max K. > > > > |
Denis,
Lately I don't use Scala. Probably someone with more Scala experience will be a better reviewer. Roman On Wednesday, May 24, 2017 1:03 AM, Denis Magda <[hidden email]> wrote: Roman, Would you mind reviewing the contribution? — Denis > On May 23, 2017, at 8:38 AM, Kozlov Maxim <[hidden email]> wrote: > > Hi guys! > > Review please - https://github.com/apache/ignite/pull/1998 <https://github.com/apache/ignite/pull/1998> > https://issues.apache.org/jira/browse/IGNITE-532 <https://issues.apache.org/jira/browse/IGNITE-532> > > I'm add Akka Stream and Akka Actor integration, please see the solution. > There is a question that the guru scala would like to ask. First implementation actor stream created a trait StreamAdapterTrait (IgniteAkkaActorStreamer.scala), because "extends Actor with StreamAdapter[T, K, V]" as "with" means that the class is using a Trait via mixin. Second implementation actor stream IgniteAkkaActorStreamerJava.scala "extends StreamAdapter[T, K, V] with Actor" use default abstract class StreamAdapter. Which option is better? > > -- > Best Regards, > Max K. > > > > |
Got you. Alex K., could you review the integration then? You are an experienced Scala developer as I know.
— Denis > On May 24, 2017, at 12:37 AM, Roman Shtykh <[hidden email]> wrote: > > Denis, > Lately I don't use Scala. Probably someone with more Scala experience will be a better reviewer. > Roman > > > > > > > On Wednesday, May 24, 2017 1:03 AM, Denis Magda <[hidden email]> wrote: > > > Roman, > > Would you mind reviewing the contribution? > > — > Denis > >> On May 23, 2017, at 8:38 AM, Kozlov Maxim <[hidden email]> wrote: >> >> Hi guys! >> >> Review please - https://github.com/apache/ignite/pull/1998 <https://github.com/apache/ignite/pull/1998> >> https://issues.apache.org/jira/browse/IGNITE-532 <https://issues.apache.org/jira/browse/IGNITE-532> >> >> I'm add Akka Stream and Akka Actor integration, please see the solution. >> There is a question that the guru scala would like to ask. First implementation actor stream created a trait StreamAdapterTrait (IgniteAkkaActorStreamer.scala), because "extends Actor with StreamAdapter[T, K, V]" as "with" means that the class is using a Trait via mixin. Second implementation actor stream IgniteAkkaActorStreamerJava.scala "extends StreamAdapter[T, K, V] with Actor" use default abstract class StreamAdapter. Which option is better? >> >> -- >> Best Regards, >> Max K. >> >> >> >> > > |
Hi Alex, could you review the integration then?
-- Best regards Kozlov Maksim > 24 мая 2017 г., в 22:31, Denis Magda <[hidden email]> написал(а): > > Got you. Alex K., could you review the integration then? You are an experienced Scala developer as I know. > > — > Denis > >> On May 24, 2017, at 12:37 AM, Roman Shtykh <[hidden email]> wrote: >> >> Denis, >> Lately I don't use Scala. Probably someone with more Scala experience will be a better reviewer. >> Roman >> >> >> >> >> >> >> On Wednesday, May 24, 2017 1:03 AM, Denis Magda <[hidden email]> wrote: >> >> >> Roman, >> >> Would you mind reviewing the contribution? >> >> — >> Denis >> >>> On May 23, 2017, at 8:38 AM, Kozlov Maxim <[hidden email]> wrote: >>> >>> Hi guys! >>> >>> Review please - https://github.com/apache/ignite/pull/1998 <https://github.com/apache/ignite/pull/1998> >>> https://issues.apache.org/jira/browse/IGNITE-532 <https://issues.apache.org/jira/browse/IGNITE-532> >>> >>> I'm add Akka Stream and Akka Actor integration, please see the solution. >>> There is a question that the guru scala would like to ask. First implementation actor stream created a trait StreamAdapterTrait (IgniteAkkaActorStreamer.scala), because "extends Actor with StreamAdapter[T, K, V]" as "with" means that the class is using a Trait via mixin. Second implementation actor stream IgniteAkkaActorStreamerJava.scala "extends StreamAdapter[T, K, V] with Actor" use default abstract class StreamAdapter. Which option is better? >>> >>> -- >>> Best Regards, >>> Max K. >>> >>> >>> >>> >> >> > |
Free forum by Nabble | Edit this page |