Kafka

kafka/standalone

Single-node Kafka broker in KRaft combined mode

Deploys a single-node Apache Kafka broker running in KRaft combined mode (no ZooKeeper) with host access on port 30092.

Install gck#

go install github.com/gravitee-io-labs/gck@latest

For other installation methods, see Installation .

Usage#

Create#

gck create --from kafka/standalone

Cleanup#

gck delete

Quick Start#

List topics from your host using kcat :

kcat -b 127.0.0.1:30092 -L

Produce and consume a test message:

echo "hello" | kcat -b 127.0.0.1:30092 -P -t test-topic
kcat -b 127.0.0.1:30092 -C -t test-topic -e

The listener is PLAINTEXT — no TLS, no authentication.

Endpoints

Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.

ServiceURLNotesFrom
Kafka127.0.0.1:30092plaintext, no TLSkafka/standalone

Variables

Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.

VariableDefaultOriginDescription
clusterNamekafka-standalonekafka/standaloneName of the Kind cluster
imageRepositoryapache/kafkakafka/standaloneApache Kafka Docker image repository
imageTaglatestkafka/standaloneApache Kafka Docker image tag