NIVJAIN edited a comment on issue #87: URL: https://github.com/apache/pulsar-client-node/issues/87#issuecomment-629577630
@tuteng and @JimKnopf182 , It worked for me pulsar in standalone mode on my mac system MacOsCatalina 10.15.2 It didnt work for me on docker, below is my docker-compose.yaml. ```version: '2.1' services: zoo1: image: apachepulsar/pulsar:2.4.1 hostname: zoo1 ports: - "2181:2181" environment: ZK_ID: 1 PULSAR_ZK_CONF: /conf/zookeeper.conf volumes: - ./zoo1/data:/pulsar/data/zookeeper/ - ./zoo1/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_zk.sh" zoo2: image: apachepulsar/pulsar:2.4.1 hostname: zoo2 ports: - "2182:2181" environment: ZK_ID: 2 PULSAR_ZK_CONF: /conf/zookeeper.conf volumes: volumes: - ./zoo2/data:/pulsar/data/zookeeper/ - ./zoo2/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_zk.sh" zoo3: image: apachepulsar/pulsar:2.4.1 hostname: zoo3 ports: - "2183:2181" environment: ZK_ID: 3 PULSAR_ZK_CONF: /conf/zookeeper.conf volumes: - ./zoo3/data:/pulsar/data/zookeeper/ - ./zoo3/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_zk.sh" bookie1: image: apachepulsar/pulsar:2.4.1 hostname: bookie1 ports: - "3181:3181" environment: BOOKIE_CONF: /conf/bookkeeper.conf volumes: - ./bookie1/data:/pulsar/data/bookkeeper/ - ./bookie1/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_mainbk.sh" depends_on: - zoo1 - zoo2 - zoo3 bookie2: image: apachepulsar/pulsar:2.4.1 hostname: bookie2 ports: - "3182:3181" environment: BOOKIE_CONF: /conf/bookkeeper.conf volumes: - ./bookie2/data:/pulsar/data/bookkeeper/ - ./bookie2/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_otherbk.sh" depends_on: - bookie1 bookie3: image: apachepulsar/pulsar:2.4.1 hostname: bookie3 ports: - "3183:3181" environment: BOOKIE_CONF: /conf/bookkeeper.conf volumes: - ./bookie3/data:/pulsar/data/bookkeeper/ - ./bookie3/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_otherbk.sh" depends_on: - bookie1 broker1: image: apachepulsar/pulsar:2.4.1 hostname: broker1 environment: PULSAR_BROKER_CONF: /conf/broker.conf ports: - "6660:6650" - "8090:8080" volumes: - ./broker1/data:/pulsar/data/broker/ - ./broker1/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_broker.sh" depends_on: - bookie1 - bookie2 - bookie3 broker2: image: apachepulsar/pulsar:2.4.1 hostname: broker2 environment: PULSAR_BROKER_CONF: /conf/broker.conf ports: - "6661:6650" - "8091:8080" volumes: - ./broker2/data:/pulsar/data/broker/ - ./broker2/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_broker.sh" depends_on: - bookie1 - bookie2 - bookie3 pulsar-proxy: image: apachepulsar/pulsar:2.4.1 hostname: pulsar-proxy ports: - "6650:6650" - "8080:8080" environment: PULSAR_PROXY_CONF: "/conf/proxy.conf" volumes: - ./proxy/log/:/pulsar/logs - ./conf:/conf - ./scripts:/scripts command: /bin/bash "/scripts/start_proxy.sh" depends_on: - broker1 - broker2 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org