I have kafka to has deployed in docker container.
version: '3.8'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
I saw in one of the videos that kafka toolkit is present in distributions along the path
/usr/bin
The kafka toolkit is not in this image at that location
maybe this set can be installed somehow , or is it present in any other kafka images ?
CodePudding user response:
You can check the github repo that is used to create the wurstmeister/kafka docker image.
You can see in the Dockerfile that the KAFKA_HOME points to /opt/kafka
so you will find you bin directory under /opt/kafka/bin.