---
title: "Deploy Lightweight Kafka with volume"
description: "Single-node Confluent Kafka with Golang example consumer and producer."
category: "Storage"
url: https://railway.com/deploy/PhV3c8
---

# Deploy Lightweight Kafka with volume

Single-node Confluent Kafka with Golang example consumer and producer.

**[Deploy Lightweight Kafka with volume on Railway](https://railway.com/template/PhV3c8)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/PhV3c8/manifest.json

- **Creator:** Antvirf's Projects
- **Category:** Storage
- **Total deploys:** 16

## Template content

### kafka

- **Source:** https://github.com/Antvirf/railway_kafka_stack

### producer

- **Source:** https://github.com/Antvirf/railway_kafka_stack
- **Start command:** `/app.out -mode producer -wait 60`

### consumer

- **Source:** https://github.com/Antvirf/railway_kafka_stack
- **Start command:** `/app.out -mode consumer -wait 60`

## Documentation

Single-node, persistent Kafka using Confluent's best-practice Kafka image. Uses the built-in KRaft controller for a lighter deployment that doesn't require zookeeper.

The project deploys an example producer and consumer, written in Go and following Confluent's examples. They can be removed once you've deployed the template.



## Similar templates

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.

Open this page in a browser: https://railway.com/deploy/PhV3c8
