# Kotlin and Akka actors

**URL:** <https://discuss.kotlinlang.org/t/kotlin-and-akka-actors/13062>\
**Category:** Support\
**Created:** [June 12, 2019, 1:49pm UTC](https://discuss.kotlinlang.org/t/kotlin-and-akka-actors/13062 "2019-06-12T13:49:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GhaziTriki](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/ghazitriki/32/6444_2.png) [@GhaziTriki](https://discuss.kotlinlang.org/u/GhaziTriki)\
**Post date:** [June 12, 2019, 1:49pm UTC](https://discuss.kotlinlang.org/t/kotlin-and-akka-actors/13062/1 "2019-06-12T13:49:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![medium](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/medium/32/10404_2.png) [@medium](https://discuss.kotlinlang.org/u/medium)\
**Post date:** [June 12, 2019, 2:24pm UTC](https://discuss.kotlinlang.org/t/kotlin-and-akka-actors/13062/2 "2019-06-12T14:24:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Oliver\_Plohmann](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/oliver_plohmann/32/2398_2.png) [@Oliver\_Plohmann](https://discuss.kotlinlang.org/u/Oliver_Plohmann)\
**Post date:** [June 12, 2019, 2:31pm UTC](https://discuss.kotlinlang.org/t/kotlin-and-akka-actors/13062/3 "2019-06-12T14:31:46Z")

</div>

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. [Kotlin + Akka Part 1: Hello Kotlin! | by Blockchain.com Engineering | Blockchain.com Engineering | Medium](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.
