Class ScalableTopicStats

java.lang.Object
org.apache.pulsar.common.policies.data.ScalableTopicStats

public class ScalableTopicStats extends Object
Aggregated stats for a scalable topic.

Combines segment-DAG state (from the topic metadata) with per-subscription consumer counts (from the persisted consumer registrations). Per-segment throughput rates are not yet populated — that requires collecting stats from each segment-owning broker and will be added in a follow-up.

  • Constructor Details

    • ScalableTopicStats

      public ScalableTopicStats()