Fixed initial config and docker images names (#89)
This commit is contained in:
parent
cb0c1661da
commit
f5bb336a75
4 changed files with 22 additions and 13 deletions
18
README.md
18
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.
|
To run Kafka UI, you can use a pre-built Docker image or build it locally.
|
||||||
|
|
||||||
## Running From Docker Image
|
## 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:
|
Launch Docker container in the background:
|
||||||
```sh
|
```sh
|
||||||
|
|
||||||
docker run -d {}/kafka-ui-api:latest
|
docker run -d provectuslabs/kafka-ui:latest
|
||||||
-e KAFKA_CLUSTERS_0_NAME=local
|
-e KAFKA_CLUSTERS_0_NAME=local
|
||||||
-e KAFKA_CLUSTERS_0__BOOTSTRAPSERVERS=kafka0:29092
|
-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
|
||||||
|
|
||||||
```
|
```
|
||||||
Then access the web UI at [http://localhost:9000](http://localhost:9000).
|
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
|
|Name |Description
|
||||||
|-----------------------|-------------------------------
|
|-----------------------|-------------------------------
|
||||||
|`KAFKA_CLUSTERS_2_NAME` | Cluster name
|
|`KAFKA_CLUSTERS_0_NAME` | Cluster name
|
||||||
|`KAFKA_CLUSTERS_2_BOOTSTRAPSERVERS` |Address where to connect
|
|`KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS` |Address where to connect
|
||||||
|`KAFKA_CLUSTERS_2_ZOOKEEPER` | Zookeper service address
|
|`KAFKA_CLUSTERS_0_ZOOKEEPER` | Zookeper service address
|
||||||
|`KAFKA_CLUSTERS_2_SCHEMAREGISTRY` |SchemaRegistry's address
|
|`KAFKA_CLUSTERS_0_SCHEMAREGISTRY` |SchemaRegistry's address
|
||||||
|`KAFKA_CLUSTERS_2_SCHEMANAMETEMPLATE` |How keys are saved to schemaRegistry
|
|`KAFKA_CLUSTERS_0_SCHEMANAMETEMPLATE` |How keys are saved to schemaRegistry
|
||||||
|`KAFKA_CLUSTERS_2_JMXPORT` |Open jmxPosrts of a broker
|
|`KAFKA_CLUSTERS_0_JMXPORT` |Open jmxPosrts of a broker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ version: '2'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
kafka-ui:
|
kafka-ui:
|
||||||
container_name: kafka-ui-api
|
container_name: kafka-ui
|
||||||
image: kafka-ui-api:latest
|
image: kafka-ui:latest
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -237,7 +237,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tag>${git.revision}</tag>
|
<tag>${git.revision}</tag>
|
||||||
<repository>${project.artifactId}</repository>
|
<repository>kafka-ui</repository>
|
||||||
<buildArgs>
|
<buildArgs>
|
||||||
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
|
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
|
||||||
<JAR_NAME>${project.artifactId}.jar</JAR_NAME>
|
<JAR_NAME>${project.artifactId}.jar</JAR_NAME>
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
kafka:
|
||||||
|
admin-client-timeout: 5000
|
||||||
|
zookeeper:
|
||||||
|
connection-timeout: 1000
|
||||||
|
spring:
|
||||||
|
jmx:
|
||||||
|
enabled: true
|
||||||
|
auth:
|
||||||
|
enabled: false
|
Loading…
Add table
Reference in a new issue