KubeMQ
Client SDKsGo

Go SDK

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

The KubeMQ Go SDK provides a high-performance gRPC client for all messaging patterns. It requires Go 1.25 or later and is compatible with KubeMQ server v2.2+.

Installation

go get github.com/kubemq-io/kubemq-go/v2

Quick connect

import "github.com/kubemq-io/kubemq-go/v2"

// Connect to a local KubeMQ server on the default gRPC port.
client, err := kubemq.NewClient(ctx, kubemq.WithAddress("localhost", 50000))

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