CLI Mode
Command-line interface for scripts, automation, and quick operations.
danube-admin brokers listdanube-admin is a single binary that provides three interfaces for managing your Danube cluster. All three share the same core functionality.
CLI Mode
Command-line interface for scripts, automation, and quick operations.
danube-admin brokers listAI Admin (MCP)
Natural language cluster management through Claude Code, Antigravity, Cursor, or VS Code.
HTTP Server
REST API for the Danube Admin UI and custom dashboards.
danube-admin serve --mode http --port 8080curl -L -o danube-admin https://github.com/danube-messaging/danube/releases/latest/download/danube-admin-linuxchmod +x danube-adminsudo mv danube-admin /usr/local/bin/curl -L -o danube-admin https://github.com/danube-messaging/danube/releases/latest/download/danube-admin-macoschmod +x danube-adminsudo mv danube-admin /usr/local/bin/docker pull ghcr.io/danube-messaging/danube-admin:latestdanube-admin --version# Broker admin endpoint (required)export DANUBE_BROKER_ENDPOINT=http://localhost:50051
# Optional defaultsexport DANUBE_NAMESPACE=defaultexport DANUBE_OUTPUT_FORMAT=json# Override endpoint per commanddanube-admin --broker-endpoint http://broker1:50051 brokers list
# JSON output for scriptingdanube-admin brokers list --output jsonThe HTTP server mode exposes a REST API that powers the Danube Admin UI.
danube-admin serve --mode http --port 8080 \ --broker-endpoint http://localhost:50051# List brokerscurl http://localhost:8080/api/brokers
# Create topiccurl -X POST http://localhost:8080/api/topics \ -H "Content-Type: application/json" \ -d '{"name": "/default/events", "partitions": 4}'
# Get cluster balancecurl http://localhost:8080/api/cluster/balance