Create a new TopicMetricCollector using the values currently known to this builder.
the name of the TopicMetricCollector
the selector pattern that specifies the topics for which metrics are to be collected
a new TopicMetricCollector with all of the current settings of this builder
Specifies whether the metric collector should export metrics to Prometheus or not.
The default is that metrics are not exported to Prometheus.
Specifies whether the metric collector should group by topic type.
By default a topic metric collector does not group by topic type.
true to indicate that the collector should group by topic type
Reset the builder.