kotlinx.rpc 0.10.0 Help

Migration to 0.10.0

Version 0.10.0 brings some changes that require a migration:

  • waitForServices parameter in kRPC config is deprecated and should be replaced with connector DSL

  • As a continuation of the previous point, the backpressure mechanism is now introduced. You may encounter slowdowns by default when using streams. Use connector DSL to configure better suited buffer sizes.

  • For Ktor kRPC integration - public fun Route.rpc functions now accept a suspending function parameter instead of a regular one.

Last modified: 07 October 2025