https://kotlinlang.org logo
Join SlackCommunities
Powered by
# mu
  • r

    raulraja

    03/20/2019, 11:59 AM
    set the channel description: Mu - Purely Functional Microservices for Kotlin. https://github.com/higherkindness/mu-kt
  • r

    raulraja

    03/20/2019, 11:59 AM
    Let's get this party started! https://github.com/higherkindness/mu-kt
  • s

    simon.vergauwen

    03/20/2019, 12:00 PM
    🎉
  • r

    raulraja

    03/20/2019, 12:00 PM
    If you are in this channel is because in previous conversations you have expressed interest in Mu for Kotlin.
  • s

    simon.vergauwen

    03/20/2019, 12:00 PM
    Guess I should get my ass on streams
    😂 2
  • r

    raulraja

    03/20/2019, 12:00 PM
    While we don't have yet streaming in Arrow we can implement some of the endpoints and get the ball rolling
  • r

    raulraja

    03/20/2019, 12:02 PM
    Mu aims to be the kotlin counterpart to https://github.com/higherkindness/mu
  • r

    raulraja

    03/20/2019, 12:02 PM
    http://higherkindness.io/mu-services/
  • r

    raulraja

    03/20/2019, 12:03 PM
    A full solution to purely functional backends based on microservices and a set of libs that help you manage the system in a cluster including monitoring etc.
  • i

    Imran/Malic

    03/25/2019, 1:36 PM
    Hey, guys how should I prepare myself for mu. I am pretty blank.
  • i

    Imran/Malic

    03/25/2019, 1:36 PM
    In other words, how do prepare yourselfs?
  • i

    Imran/Malic

    03/25/2019, 1:39 PM
    Does anyone know if we have something similar in Kotlin? https://github.com/47deg/pbdirect
  • g

    Gerard Downes

    04/02/2019, 12:11 AM
    Hi all, I'd like to echo the question @Imran/Malic posed regarding resources & getting myself immersed in Mu. My aim is to hopefully help out with the conversion to Kotlin to push my understanding. The Scala version currently uses the following libraries: avro4s cats-effect fs2 Monix What/How close is a Kotlin equivalent for each?
    r
    • 2
    • 1
  • i

    Imran/Malic

    04/02/2019, 5:11 AM
    I am not sure about the whole capabilities of cats-effect, but I guess [arrow-effects](https://next.arrow-kt.io/docs/effects/io/). @pakoito is your guy in this matter.
  • s

    simon.vergauwen

    04/02/2019, 7:16 AM
    There is not equivalent to avro4s AFAIK
  • s

    simon.vergauwen

    04/02/2019, 7:18 AM
    Arrow-effects is still heavily worked on as we speak by me and Raul but most of what you need should be there already.
  • s

    simon.vergauwen

    04/02/2019, 7:19 AM
    I started on Arrow-streams (an FS2 equivalent) but that's currently on hold to get arrow-effects in a more complete state.
  • s

    simon.vergauwen

    04/02/2019, 7:20 AM
    Not sure if you really need both Monix and FS2. And if so let's make sure we provide the necessary things in effects or streams.
  • r

    raulraja

    04/02/2019, 3:47 PM
    Monix is just there to provide an alternative to Fs2 in the interpretation of
    Observable
    endpoints that use uni or bidirectional streaming
    👍 1
  • r

    raulraja

    04/02/2019, 3:48 PM
    in the Mu version all we need to implement Mu is in arrow-fx and will be also in arrow-streams. What we are missing is something like avro4s
  • a

    AdrianRaFo

    04/08/2019, 8:15 AM
    Actually what we want to use for mu-kt is https://github.com/higherkindness/compendium in order to avoid to work on an avro4k library. With
    compendium
    , we should be able to just use its
    gradle
    plugin in order to receive the protocol directly on
    kotlin
    👍 1
  • a

    AdrianRaFo

    04/08/2019, 8:17 AM
    A
    sbt
    plugin is wip right now and the
    kotlin
    support along with a
    gradle
    plugin will become
  • r

    raulraja

    04/08/2019, 12:10 PM
    @AdrianRaFo when you can, can you share the sample scala project that prints out the generated code so we can use for comparing with what we are generating in
    mu-kt
    ? thanks!
  • a

    AdrianRaFo

    04/08/2019, 12:20 PM
    Sure I'll do asap
  • a

    AdrianRaFo

    04/08/2019, 4:50 PM
    From this https://github.com/higherkindness/mu/blob/arf-generated-sample/benchmarks/shared/src/main/scala/higherkindness/mu/rpc/benchmarks/shared/protocols/PersonServiceAvro.scala to https://github.com/higherkindness/mu/blob/arf-generated-sample/benchmarks/shared/src/main/scala/higherkindness/mu/rpc/benchmarks/shared/protocols/PersonServiceAvroExpanded.scala is what the current Mu macro generates (after some clean up to make it more readable)
  • a

    AdrianRaFo

    04/08/2019, 4:51 PM
    You can download the branch on Mu
    arf-generated-sample
    if you want
  • r

    raulraja

    04/08/2019, 7:06 PM
    thanks @AdrianRaFo!
    👍 1