Comments (2)
The issue is also found in my computer. I suggest bitnami/zookeeper because it is well maintained.
from kafka-docker.
Please use the compose file I provided. I have been using this file,The image wurstmeister has been customized. You'd better use the same image of wurstmeister
Note:
version: '3'
services:
zookeeper:
image: wurstmeister/zookeeper
#image: zookeeper
container_name: zookeeper
ports:
- "2181:2181"
privileged: true
kafka1:
image: wurstmeister/kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: 192.168.0.212
KAFKA_CREATE_TOPICS: TestComposeTopic:4:3
KAFKA_ZOOKEEPER_CONNECT: 192.168.0.212:2181
KAFKA_BROKER_ID: 1
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.0.212:9092
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092
container_name: kafka01
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
kafka2:
image: wurstmeister/kafka
ports:
- "9093:9093"
environment:
KAFKA_ADVERTISED_HOST_NAME: 192.168.0.212
KAFKA_ZOOKEEPER_CONNECT: 192.168.0.212:2181
KAFKA_BROKER_ID: 2
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.0.212:9093
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9093
container_name: kafka02
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
kafka3:
image: wurstmeister/kafka
ports:
- "9094:9094"
environment:
KAFKA_ADVERTISED_HOST_NAME: 192.168.0.212
KAFKA_ZOOKEEPER_CONNECT: 192.168.0.212:2181
KAFKA_BROKER_ID: 3
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.0.212:9094
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9094
container_name: kafka03
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
from kafka-docker.
Related Issues (20)
- Consume OpenJDK 11.0.16 and push a fresh image to Docker Hub?
- Deprecation of "openjdk:11-jre-slim" HOT 2
- $
- Kafka-connect HOT 3
- Log4J Vulnerability HOT 1
- Kafka container restart every day at 00.02
- how to change kafka log path HOT 3
- javax.net.ssl.SSLHandshakeException : Kafka Composer
- New docker images HOT 1
- problem:Tried to send a message to a replica that is not the leader,Your metadata is out of date
- How to enable JMX feature in docker-compose.yml and test it HOT 1
- Error failed to change state for partition HOT 1
- Problem with sending messages from local host to kafka broker in container
- Question: I have over 400 topics that created in three kafka brokers, and now only one of them running HOT 1
- [Maintainability] is this repository still maintained? HOT 1
- Why delete the docker image wurstmeister/kafka? HOT 2
- The container for Kafka and zookeeper seems to be deleted from docker hub HOT 5
- How to build and obtain specific version kafka docker images HOT 1
- Failed to acquire lock on file .lock in /kafka/kafka-data.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-docker.