send delayed message, but consume immediately

Open
#345 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, node.js

Research direction

Reproduce the delayed-send example using pulsar-server 3.0.1, pulsar-client 1.9.0, and Node v19.6.0, then inspect the producer.send call and the consumer timing. Done means determining why deliverAfter: 30000 is ignored or identifying the missing usage required for the message to be consumed after the delay.

Written by the indexing model from the issue text.

Description

pulsar-server 3.0.1
pulsar-client 1.9.0
node v19.6.0

I cannot send delayed messages.

            producer.send({
                data: Buffer.from(JSON.stringify(Date.now())),
                deliverAfter: 30000
            });

Is there some thing wrong?

Dominant language
C++
Stars
164
Forks
99
Avg merge
5d 18h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/pulsar-client-node

All issues in apache/pulsar-client-node

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.