![]() ![]() Let me provide the docker-compose file that I spent a whole day creating. It`s fast receipt for run local kafka in docker Start docker-compose with kafka_m1 image building.var/run/docker.sock:/var/run/docker.sock docker-compose.yml (i choose zookeeper:3.7.0 because it has arm build):.kafka`s Dockerfile ( openjdk:15.0.2-jdk was build for m1):ĮNTRYPOINT.Configure server.properties file ( root dir/kafka_m1/kafka/config/server.properties).Create docker-compose project dir with next structure.Clone kafka repo and build on my macbook pro m1 (. ![]() Thanksįor startup kafka in docker on mac m1 i do next things : Do you guys have any idea of this? i already search possibilities about this, but i still don't have the problem solving. I think kafka not yet to running, So i cannot list/create a topics. Important: If you are using Docker for Mac or Docker for Windows, you can skip. KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT Getting Started with Docker Compose Create and configure the Docker Machine. I read up about the 'special DNS name' that says I can connect my container to local services running on my laptop. KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:29092,OUTSIDE://localhost:9092 I am running Burrow in a docker container and I want to connect it to the kafka/zookeeper cluster that is running locally on my mac. I don't know its because the OS or not, but the log for kafka is only like this: I use macOS M1 Big Sur 11.2.3, but my kafka cannot running well and cannot create/list the topics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |