tulios / kafkajs

A modern Apache Kafka client for node.js

Home Page:https://kafka.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka producer.send(timeout: 1) other than 1ms- no other number seems to be working

spatel6904 opened this issue · comments

The producer.send(.., timeout:400) - the timeout is not working.

We are trying to send messages to kafka using kafkajs library. The functionality we want is if the message to be sent doesn't happen within 15 seconds then do not send the message and throw an error of timeout.