kafkajs Questions

1

Solved

I am using kubernetes microserice in which I have create single Kafka micro service to consume all topic and perform its activities. Code sample below: const { Kafka, logLevel } = require("kaf...
Irresistible asked 20/5, 2023 at 5:17

1

In one of my use-case consist of consuming the data, do some operations and produce it to new topic. I'm using https://www.npmjs.com/package/kafkajs npm library. I would like to commit the offset m...
Schlosser asked 29/8, 2021 at 15:31

1

Solved

just starting learning Kafka. Im trying to setup a small kafka cluster including 2 brokers. I was successfull in sending messages to my topic when both brokers are up. I want to test the behavior o...
Homogony asked 19/7, 2022 at 19:23

0

I want to use kafkajs in my Node.js project. Let me show my code. Producer: const producer = kafka.producer(); await producer.connect(); const items = await getItems(); // getting somehow 5k items ...
Feasible asked 12/11, 2020 at 1:51

1

Solved

The Situation I am using kafkajs to write to some dynamically generated kafka topics. I am finding writing to those topics immediately after registering my producer will regularly cause an error: T...
Quin asked 24/8, 2020 at 17:58

1

Solved

I am trying to use kafkajs in order to create a kafka consumer. However, I get already an error when connecting to kafka: "[BrokerPool] Failed to connect to seed broker, trying another broker from...
Dormitory asked 31/10, 2019 at 13:22
1

© 2022 - 2024 — McMap. All rights reserved.