Skip to content

[Bug] Return value of getPartitionedStats doesn't contain subscription type #19970

@sigikjohn-vargheese

Description

@sigikjohn-vargheese

Search before asking

  • I searched in the issues and found nothing similar.

Version

Pulsar version - 2.10.3
OS - Ubuntu Linux

Minimal reproduce step

I am using Pulsar admin client's Java version and creates only partitioned topics. I have created subscriptions also using Java admin api client. In order to get all the details of the topic, I am using PartitionedStats (getTopics().getPartitionedStats()). The subscription section in the response doesn't return "type". Subscription type is returned only for TopicStats (getTopics().getStats()). I would like to get all details using PartitionedStats instead of adding a call for TopicStats.

What did you expect to see?

Subscription type returned in getTopics().getPartitionedStats() call.

What did you see instead?

Subscription type is not returned in getTopics().getPartitionedStats() call.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions