resources/docker/redpanda/README.md
Three-broker Redpanda cluster with Redpanda Console for local testing.
Based on: https://docs.redpanda.com/redpanda-labs/docker-compose/three-brokers/
task setup # Download docker-compose.yml
task up # Start the cluster
task console # Open Redpanda Console in browser
task setup - Download docker-compose.yml from Redpanda Labstask up - Start the Redpanda clustertask down - Stop and remove the clustertask restart - Restart the clustertask logs - View cluster logstask console - Open Redpanda Console (http://localhost:8080)task status - Check cluster statustask clean - Stop cluster and remove volumesThree Redpanda brokers with the following external ports:
| Broker | Kafka | Schema Registry | HTTP Proxy | Admin API |
|---|---|---|---|---|
| redpanda-0 | 19092 | 18081 | 18082 | 19644 |
| redpanda-1 | 29092 | 28081 | 28082 | 29644 |
| redpanda-2 | 39092 | 38081 | 38082 | 39644 |
# Kafka
localhost:19092,localhost:29092,localhost:39092
# Schema Registry (any broker)
http://localhost:18081
http://localhost:28081
http://localhost:38081
# Kafka
redpanda-0:9092,redpanda-1:9092,redpanda-2:9092
# Schema Registry
http://redpanda-0:8081
docker-compose.yml file is downloaded from Redpanda Labs and not committed to gittask setup to download the latest versiondev-container mode with 1 CPU core per brokerredpanda-0, redpanda-1, redpanda-2