Browse Source

Update README.md

Evanto 5 years ago
parent
commit
bb4e0740ab
1 changed files with 3 additions and 15 deletions
  1. 3 15
      README.md

+ 3 - 15
README.md

@@ -84,23 +84,11 @@ The official Docker image for Kafka UI is hosted here: [hub.docker.com/r/provect
 
 Launch Docker container in the background:
 ```sh
-docker run -d --rm -p 9000:9000 \
-	-e KAFKA_BROKERCONNECT=<host:port,host:port> \
-	-e JVM_OPTS="-Xms32M -Xmx64M" \
-	-e SERVER_SERVLET_CONTEXTPATH="/" \
-	provectus/kafka-ui
-```
+docker run -d {}/kafka-ui-api:latest 
+	-e KAFKA_CLUSTERS_0_NAME=local 
+	-e KAFKA_CLUSTERS_0__BOOTSTRAPSERVERS=kafka0:29092
 
-Launch container in background with protobuff definitions:
-```sh
-docker run -d --rm -v <path_to_protobuff_descriptor_files>:/var/protobuf_desc -p 9000:9000 \
-	-e KAFKA_BROKERCONNECT=<host:port,host:port> \
-	-e JVM_OPTS="-Xms32M -Xmx64M" \
-	-e SERVER_SERVLET_CONTEXTPATH="/" \
-	-e CMD_ARGS="--message.format=PROTOBUF --protobufdesc.directory=/var/protobuf_desc" \
-	provectus/kafka-ui
 ```
-
 Then access the web UI at [http://localhost:9000](http://localhost:9000).