Questions tagged [kafka-node]
32 questions
0
votes
1 answer
Broker not available (loadMetadataForTopics) - kafka-node
My docker-compose file
version: '3'
services:
zookeeper:
container_name: zookeeper
image: confluentinc/cp-zookeeper
ports:
- "32181:32181"
environment:
ZOOKEEPER_CLIENT_PORT: 32181
ZOOKEEPER_TICK_TIME: 2000
…

Vipin Kumar R. Jaiswar
- 741
- 6
- 6
-2
votes
1 answer
Pub/Sub design pattern to implement kafka-node library in Node Js
I am using kafka-node module in my NodeJs Microservise project. Here I want a Pub/Sub (publisher and subscriber) design pattern in Functional programming paradigm.
producer.js
const client = new kafka.KafkaClient({
kafkaHost:…

Subhasish Biswasray
- 18
- 4