Kotlin and Akka actors

Hello,

I would like to know if kotlin works witth akka actors or not?

I have a kotlin application that needs to handle and send actor messages to EventBus shared by another application?

Thanks

Since Akka has a Java API, it is possible to use Akka with Kotlin.

Akka was one of the first Java frameworks the Kotlin people promised to support. Couldn’t find the thread with a quick search in Google. There is also quite a bit experience reports out there of using Kotlin with Akka, f.x. https://medium.com/blockchain-engineering/kotlin-akka-part-1-hello-kotlin-a0c0de7d7407

AFAIK pattern matching in Scala/Akka can be implemented in Kotlin using the when clause.