Skip to content

Topic internalStats/stats get failed: Topic not found #15871

@Gleiphir2769

Description

@Gleiphir2769

Describe the bug
Pulsar v2.8.2
I craete a topic by using https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}, then use https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}/internalStats and https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}/stats to check it. It will be failed and return "404 "reason": "Topic not found"". But I can successfully request some time after topic is created, so why these two requests return this error when topic is just created? Under what circumstances can I get the correct result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions