[Pulsar Sql] The number of query result records of pulsar SQL is less than that sent by producer
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 142
Description
**Describe the bug**
Pulsar version 2.6.2
The number of query result records of pulsar SQL is less than that sent by producer.
1、Producer sends 7 records;

2、Pulsar SQL only queries 4 records;
sql: select * from XXX;

3、Topic has no subscription;
Contributor guide
Research direction
Start by reproducing the reported Pulsar 2.6.2 flow: send 7 records, confirm the topic has no subscription, and run `select * from XXX;` through Pulsar SQL. Compare the producer count with the 4 returned records and use the issue's screenshots and comment history to identify the missing-record conditions; done means the cause is isolated and a regression test or verified fix covers the case.
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
- Needs clarification
- Newbie friendliness
- 25/100