You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team, we are using node-rdkafka. During the network test, we always get error delivery-report callback after 5 minutes when our system got a network failure. We have tried to reduce the timeout parameters value (delivery.timeout.ms). But It was not working. Could you please give some guide to reduce the delay of the 'delivery-report' event callback?
We have updated from 3.3.1 to 3.4.0 today and we also see problems with the delivery report.
I feel like its connected to #1128. Because the problem occurs when the connection is slow. Then I am seeing
rdkafka: 2.118s (time it needs to connect to Kafka)
error [LibrdKafkaError: Local: Broker transport failure] {
origin: 'local',
message: 'broker transport failure',
code: -1,
errno: -1
}
error [LibrdKafkaError: Local: All broker connections are down] {
origin: 'local',
message: 'all broker connections are down',
code: -1,
errno: -1
}
delivery-report: 30.026s
I have attached a zip, which reproduces the problem. You need to run the npm run start command a couple of times. The bug does not appear every time.
Running npm run start-prev (3.3.1) does not throw these errors at all, but the delivery report also takes around 2s. Not sure this is normal.
Activity
blockwooddev commentedon May 1, 2025
I am experiencing this issue as well
kirrg001 commentedon May 6, 2025
We have updated from 3.3.1 to 3.4.0 today and we also see problems with the delivery report.
I feel like its connected to #1128. Because the problem occurs when the connection is slow. Then I am seeing
I have attached a zip, which reproduces the problem. You need to run the
npm run startcommand a couple of times. The bug does not appear every time.Running
npm run start-prev(3.3.1) does not throw these errors at all, but the delivery report also takes around 2s. Not sure this is normal.Tested with Kafka v2/v3.
reproduce-2.zip