We have plenty of docker-compose files as examples. They're built for various configuration stacks.
Example of how to configure clusters in the application-local.yml configuration file:
kafka:
clusters:
-
name: local
bootstrapServers: localhost:29091
schemaRegistry: http://localhost:8085
schemaRegistryAuth:
username: username
password: password
# schemaNameTemplate: "%s-value"
metrics:
port: 9997
type: JMX
-
name
: cluster namebootstrapServers
: where to connectschemaRegistry
: schemaRegistry's addressschemaRegistryAuth.username
: schemaRegistry's basic authentication usernameschemaRegistryAuth.password
: schemaRegistry's basic authentication passwordschemaNameTemplate
: how keys are saved to schemaRegistrymetrics.port
: open JMX port of a brokermetrics.type
: Type of metrics, either JMX or PROMETHEUS. Defaulted to JMX.readOnly
: enable read only modeConfigure as many clusters as you need by adding their configs below separated with -
.
The official Docker image for UI for Apache Kafka is hosted here: hub.docker.com/r/provectuslabs/kafka-ui.
Launch Docker container in the background:
docker run -p 8080:8080 \
-e KAFKA_CLUSTERS_0_NAME=local \
-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 \
-d provectuslabs/kafka-ui:latest
Then access the web UI at http://localhost:8080. Further configuration with environment variables - see environment variables
If you prefer to use docker-compose
please refer to the documentation.
Helm chart could be found under charts/kafka-ui directory
Quick-start instruction here
Check prerequisites.md
Check building.md
Prerequisites will mostly remain the same with the exception of docker.
How to run quickly without building