Skip to content

Commit

Permalink
Fixed initial config and docker images names (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
germanosin authored Aug 3, 2020
1 parent cb0c166 commit f5bb336
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/kafka-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion kafka-ui-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
9 changes: 9 additions & 0 deletions kafka-ui-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
kafka:
admin-client-timeout: 5000
zookeeper:
connection-timeout: 1000
spring:
jmx:
enabled: true
auth:
enabled: false

0 comments on commit f5bb336

Please sign in to comment.