KubeMQ
Client SDKsKotlin

Kotlin SDK

Install the KubeMQ Kotlin SDK and send your first message with step-by-step instructions.

The KubeMQ Kotlin SDK provides a coroutine-first client for all messaging patterns over gRPC transport with DSL builders, Flow-based subscriptions, TLS, authentication, and automatic reconnection. It requires Kotlin 2.0+ and JDK 11, 17, or 21.

Installation

Gradle (Kotlin DSL)

build.gradle.kts
dependencies {
    implementation("io.kubemq.sdk:kubemq-sdk-kotlin:1.0.1")
}

Or use the BOM for version alignment:

build.gradle.kts
dependencies {
    implementation(platform("io.kubemq.sdk:kubemq-sdk-kotlin-bom:1.0.1"))
    implementation("io.kubemq.sdk:kubemq-sdk-kotlin")
}

Maven

pom.xml
<dependency>
    <groupId>io.kubemq.sdk</groupId>
    <artifactId>kubemq-sdk-kotlin</artifactId>
    <version>1.0.1</version>
</dependency>

Next: send your first message

With the SDK installed, continue to the first-message tutorial to connect a client and publish and receive your first message.

Was this page helpful?

On this page