[clean][broker] remove unused code(#17036)
@@ -347,8 +347,6 @@ public class PulsarService implements AutoCloseable, ShutdownService {
this.brokerClientSharedTimer =
new HashedWheelTimer(new DefaultThreadFactory("broker-client-shared-timer"), 1, TimeUnit.MILLISECONDS);
- int interval = config.getManagedLedgerStatsPeriodSeconds();
- boolean exposeTopicMetrics = config.isExposeTopicLevelMetricsInPrometheus();
// here in the constructor we don't have the offloader scheduler yet
this.offloaderStats = LedgerOffloaderStats.create(false, false, null, 0);
}
