apache / apache/pulsar

messageId returned by reader is not exactly matched with that in response returned by pulsar broker

Open
#16,624 1 comment 0 reactions 0 assignees View on GitHub
Stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

**Describe the bug**
the message Id in response when I send it to pulsar is
"111253:0:0", but when I read the message by reader interface, the message id turn out to be different
![image](https://user-images.githubusercontent.com/3608828/179213579-e2e2303a-b054-447b-bbd6-8e611ae455b4.png)

the third part become -1.


**To Reproduce**
Steps to reproduce the behavior:
1. send a message to pulsar topic
2. read it from topic by reader interface

**Expected behavior**
messageId should be exactly matched with the that in the response returned by pulsar broker

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the send-to-topic and reader-interface flow described in the issue, then compare the broker response message ID with the ID returned by the reader. Done means the reader returns the same three-part message ID, including the third part, as the broker response.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.