5/26/2023 0 Comments Docker for mac kafkaLet 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 (.For any meaningful work, Docker compose relies on Docker Engine. Now, to install Kafka-Docker, steps are: 1. Install Docker Compose We can run compose on macOS, Windows, as well as 64-bit Linux. Pre-Requisites for using Docker At very first, install docker-compose a. Thanksįor startup kafka in docker on mac m1 i do next things : Here come the steps to run Apache Kafka using Docker i.e. 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. KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:29092,OUTSIDE://localhost:9092 Here is a summary of some notable changes: KIP-833: Mark KRaft as Production Ready KIP-778: KRaft to. I don't know its because the OS or not, but the log for kafka is only like this: Kafka 3.3.1 includes a number of significant new features. 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. |