Interface Metrics.TopicMetricCollector

All Superinterfaces:
Metrics.MetricCollector
Enclosing interface:
Metrics

public static interface Metrics.TopicMetricCollector extends Metrics.MetricCollector
The definition of a topic metric collector.

These can be configured to record metric data for a subset of all topics, specified with a topic selector.

  • Method Details

    • getTopicSelector

      String getTopicSelector()
      Returns the topic selector.
      Returns:
      topic selector
    • groupsByTopicType

      boolean groupsByTopicType()
      Indicates whether the collector groups by topic type.
      Returns:
      true if grouping by topic type
    • groupsByTopicView

      boolean groupsByTopicView()
      Indicates whether the collector groups by topic view.
      Returns:
      true if grouping by topic view
      Since:
      6.9
    • groupByPathPrefixParts

      int groupByPathPrefixParts()
      Returns the number of leading parts of the topic path to group by.
      Returns:
      the number of leading parts of the topic path to group by, or 0 if the collector does not group by path prefix
      Since:
      6.8