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.
| Service | URL | Notes | From |
|---|---|---|---|
| Kafka | 127.0.0.1:30092 | plaintext, no TLS | kafka/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | kafka-standalone | kafka/standalone | Name of the Kind cluster |
imageRepository | apache/kafka | kafka/standalone | Apache Kafka Docker image repository |
imageTag | latest | kafka/standalone | Apache Kafka Docker image tag |