zookeeper+kafka+kafka-ui
version: '3' services: zookeeper: image: 10.18.1.2:5000/bitnami/zookeeper:3.7 ports: - "2181:2181" volumes: - "zookeeper_data:/bitnami" environment: - ALLOW_ANONYMOUS_LOGIN=yes kafka: image: 10.18.1.2:5000/bitnami/kafka:3 ports: - "9092:9092" volumes: - "kafka_data:/bitnami" environment: - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 - ALLOW_PLAINTEXT_LISTENER=yes depends_on: - zookeeper kafka_manager: image: sheepkiller/kafka-manager depends_on: [ zookeeper ] ports: - "9001:9000" restart: always volumes: - /etc/localtime:/etc/localtime:ro environment: TZ: ${TIMEZONE} environment: ZK_HOSTS: zookeeper:2181 kafka-ui: container_name: kafka-ui image: provectuslabs/kafka-ui:latest ports: - 18080:8080 depends_on: - kafka environment: - KAFKA_CLUSTERS_0_NAME=local - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 - KAFKA_CLUSTERS_0_ZOOKEEPER=zookeeper:2181 volumes: zookeeper_data: driver: local kafka_data: driver: local
2022/09/01 08:51:54 Failed to send log entry to kafka: kafka: Failed to produce message to topic topic_pcap: dial tcp: lookup 5aa1600a4d30: no such host ///// /etc/hosts
github.com/Shopify/sarama
go packet
https://towardsdatascience.com/overview-of-ui-tools-for-monitoring-and-management-of-apache-kafka-clusters-8c383f897e80
posted on 2022-09-01 09:59 csuyangpeng 阅读(295) 评论(0) 编辑 收藏 举报