kafka-node

Getting already committed message from confluent kafka using kafka-node NodeJs lib

半腔热情 提交于 2020-06-29 03:59:39
问题 I have setup the CP-Kafka and Cp-ZOOKEEPER using yaml version: '3' services: zookeeper: container_name: zookeeper image: confluentinc/cp-zookeeper ports: - "32181:32181" environment: ZOOKEEPER_CLIENT_PORT: 32181 ZOOKEEPER_TICK_TIME: 2000 ZOOKEEPER_SYNC_LIMIT: 2 kafka: container_name: kafka image: confluentinc/cp-kafka ports: - "9094:9094" environment: KAFKA_ZOOKEEPER_CONNECT: zookeeper:32181 KAFKA_LISTENERS: INTERNAL://:9092,OUTSIDE://:9094 KAFKA_ADVERTISED_LISTENERS: INTERNAL://:9092,OUTSIDE