version: '3.8' services: kafka: image: confluentinc/cp-kafka:8.1.0 container_name: kafka ports: - "9092:9092"