Explorar o código

Fixed initial config and docker images names (#89)

German Osin %!s(int64=4) %!d(string=hai) anos
pai
achega
f5bb336a75
Modificáronse 4 ficheiros con 22 adicións e 13 borrados
  1. 10 10
      README.md
  2. 2 2
      docker/kafka-ui.yaml
  3. 1 1
      kafka-ui-api/pom.xml
  4. 9 0
      kafka-ui-api/src/main/resources/application.yml

+ 10 - 10
README.md

@@ -28,14 +28,14 @@ Set up Kafka UI with just a couple of easy commands to visualize your Kafka data
 To run Kafka UI, you can use a pre-built Docker image or build it locally.  
 
 ## Running From Docker Image
-The official Docker image for Kafka UI is hosted here: [hub.docker.com/r/provectus/kafka-ui](https://hub.docker.com/r/provectus/kafka-ui).
+The official Docker image for Kafka UI is hosted here: [hub.docker.com/r/provectuslabs/kafka-ui](https://hub.docker.com/r/provectuslabs/kafka-ui).
 
 Launch Docker container in the background:
 ```sh
 
-docker run -d {}/kafka-ui-api:latest 
-	-e KAFKA_CLUSTERS_0_NAME=local 
-	-e KAFKA_CLUSTERS_0__BOOTSTRAPSERVERS=kafka0:29092
+docker run -d provectuslabs/kafka-ui:latest 
+	-e KAFKA_CLUSTERS_0_NAME=local
+	-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
 
 ```
 Then access the web UI at [http://localhost:9000](http://localhost:9000).
@@ -143,12 +143,12 @@ For example, if you want to use an environment variable to set the `name` parame
 
 |Name               	|Description
 |-----------------------|-------------------------------
-|`KAFKA_CLUSTERS_2_NAME` | Cluster name
-|`KAFKA_CLUSTERS_2_BOOTSTRAPSERVERS` 	|Address where to connect 
-|`KAFKA_CLUSTERS_2_ZOOKEEPER` 	| Zookeper service address 
-|`KAFKA_CLUSTERS_2_SCHEMAREGISTRY`   	|SchemaRegistry's address
-|`KAFKA_CLUSTERS_2_SCHEMANAMETEMPLATE`  |How keys are saved to schemaRegistry
-|`KAFKA_CLUSTERS_2_JMXPORT`        	|Open jmxPosrts of a broker
+|`KAFKA_CLUSTERS_0_NAME` | Cluster name
+|`KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS` 	|Address where to connect 
+|`KAFKA_CLUSTERS_0_ZOOKEEPER` 	| Zookeper service address 
+|`KAFKA_CLUSTERS_0_SCHEMAREGISTRY`   	|SchemaRegistry's address
+|`KAFKA_CLUSTERS_0_SCHEMANAMETEMPLATE`  |How keys are saved to schemaRegistry
+|`KAFKA_CLUSTERS_0_JMXPORT`        	|Open jmxPosrts of a broker
 
  
 

+ 2 - 2
docker/kafka-ui.yaml

@@ -3,8 +3,8 @@ version: '2'
 services:
 
   kafka-ui:
-    container_name: kafka-ui-api
-    image: kafka-ui-api:latest
+    container_name: kafka-ui
+    image: kafka-ui:latest
     ports:
       - 8080:8080
     depends_on:

+ 1 - 1
kafka-ui-api/pom.xml

@@ -237,7 +237,7 @@
                                 </goals>
                                 <configuration>
                                     <tag>${git.revision}</tag>
-                                    <repository>${project.artifactId}</repository>
+                                    <repository>kafka-ui</repository>
                                     <buildArgs>
                                         <JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
                                         <JAR_NAME>${project.artifactId}.jar</JAR_NAME>

+ 9 - 0
kafka-ui-api/src/main/resources/application.yml

@@ -0,0 +1,9 @@
+kafka:
+  admin-client-timeout: 5000
+zookeeper:
+  connection-timeout: 1000
+spring:
+  jmx:
+    enabled: true
+auth:
+  enabled: false