四、kafka connect监控
4.1 、kafka-topics-ui
https://github.com/lensesio/kafka-topics-ui
docker pull landoop/kafka-topics-ui
docker run --rm -it -p 8000:8000 \
-e "KAFKA_REST_PROXY_URL=https://kafka-rest-proxy-host:port" \
-e "PROXY=true" \
landoop/kafka-topics-ui
4.2、schema-registry-ui
https://github.com/Landoop/schema-registry-ui
docker pull landoop/schema-registry-ui
docker run --rm -p 8000:8000 \
-e "SCHEMAREGISTRY_URL=http://confluent-schema-registry-host:port" \
landoop/schema-registry-ui
4.3 、kafka-connect-ui
https://github.com/lensesio/kafka-connect-ui
docker pull landoop/kafka-connect-ui
docker run --rm -it -p 8000:8000 \
-e "CONNECT_URL=http://connect.distributed.url" \
landoop/kafka-connect-ui
4.4、docker 导出导入
docker pull landoop/schema-registry-ui
docker pull landoop/schema-registry-ui
docker pull landoop/kafka-connect-ui
docker save -o schema-registry-ui.tar docker.io/landoop/schema-registry-ui:latest
docker save -o kafka-topics-ui.tar docker.io/landoop/kafka-topics-ui:latest
docker save -o kafka-connect-ui.tar docker.io/landoop/kafka-connect-ui:latest
docker load < schema-registry-ui.tar
docker load < kafka-topics-ui.tar
docker load < kafka-connect-ui.tar
4.5 启动命令
docker run -d -it -p 8182:8000 -e "KAFKA_REST_PROXY_URL=http://192.168.95.135:8082" -e "PROXY=true" landoop/kafka-topics-ui
docker run -d -it -p 8181:8000 -e "SCHEMAREGISTRY_URL=http://192.168.95.135:8081" -e "PROXY=true" landoop/schema-registry-ui
docker run -d -it -p 8183:8000 -e "CONNECT_URL=http://192.168.95.135:8083" -e "PROXY=true" landoop/kafka-connect-ui
https://www.confluent.io/previous-versions/
./bin/confluent local services start
|