Docker compose로 kafka 설치하기 Docker Compose를 사용하여 application.yml 파일을 통해 Kafka 컨테이너를 생성합니다.version: '3.8'services: zookeeper: image: zookeeper:3.9.1 platform: linux/amd64 ports: - "2181:2181" environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 kafka: image: wurstmeister/kafka:latest platform: linux/amd64 ports: - "9092:9092" environment: ..