Fail to get schema ledger metadata for String schema
Open
lifecycle/stale
type/bug
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 142
Description
**Describe the bug**
If get topic internal stats with String schema, will throw NPE when getting ledger metadata by bookkeeper client. https://github.com/apache/pulsar/pull/10957#pullrequestreview-686291742 can fixes the NPE to cause get internal stats failed, but we also need a fix on the Pulsar side.
Contributor guide
Research direction
The issue names no source file, test, or entry point. Start by tracing the internal-stats path for String-schema topics and the ledger-metadata lookup described here, using the linked pull request review for context; done means internal stats succeeds without the reported NPE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100