我有点像设置一个工作的kafka-zookeeper码头设置。我正在使用https://hub.docker.com/r/confluentinc/cp-zookeeper/和https://hub.docker.com/r/confluentinc/cp-kafka/我的docker-compose文件如下所示:
Class<T[]>
我的基地为kafka撰写:
newType
Docker版本:
T
错误快照:
version: '2.1'
services:
web:
network_mode: 'bridge'
extends:
file: web.base.yml
service: webapp
environment:
#This syntax of <hostname>:<port> is required by my webapp
- kafkaHost=kafka:29092
links:
- kafka
zookeeper-1:
network_mode: 'bridge'
extends:
file: kafka.base.yml
service: zookeeper
kafka:
network_mode: 'bridge'
depends_on:
- zookeeper-1
extends:
file: kafka.base.yml
service: kafka
操作系统:Ubuntu 14.04 Zookeeper容器即将上市。这是卡夫卡造成的问题。如果我遗失了某些地方,请告诉我。提前谢谢。