version: "3" services: zookeeper: image: 'bitnami/zookeeper:3.6.3-debian-10-r33' ports: - '2181:2181' environment: - ALLOW_ANONYMOUS_LOGIN=yes kafka: image: 'bitnami/kafka:2.8.0-debian-10-r49' ports: - '9092:9092' environment: - KAFKA_BROKER_ID=1 - KAFKA_CFG_LISTENERS=PLAINTEXT://:9092 - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092 - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 - ALLOW_PLAINTEXT_LISTENER=yes depends_on: - zookeeper pulsar: image: 'apachepulsar/pulsar:2.8.1' ports: - '6652:8080' - '6650:6650' entrypoint: ['bin/pulsar', 'standalone']