Blizzard / Blizzard/node-rdkafka

Message timestamp not included in delivery report

Open
#434 3 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
JavaScript
Stars
2.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

**Environment Information**
- OS [e.g. Mac, Arch, Windows 10]: Mac
- Node Version [e.g. 8.2.1]: 8.9.4
- NPM Version [e.g. 5.4.2]: 5.6
- C++ Toolchain [e.g. Visual Studio, llvm, g++]:
- node-rdkafka version [e.g. 2.3.3]: 2.3.3

**Steps to Reproduce**

Produce a message and include a dr_cb function. The report does not include the produced message timestamp.

**node-rdkafka Configuration Settings**
...
'request.required.acks': 1,
'dr_cb': function(err, data) {
if( data.value ) {
data.value = data.value.toString('utf8')
}
delivery_report.onNext(data)
}

**Additional context**

The timestamp is available to consumers, it's just not in the delivery report.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the dr_cb delivery-report path described in the reproduction and compare its data with the timestamp available to consumers. Confirm the expected timestamp behavior in the node-rdkafka bindings and verify that a produced message's delivery report includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kafka, nodejs
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.