mimaison commented on code in PR #16108:
URL: https://github.com/apache/kafka/pull/16108#discussion_r1617718717
##########
core/src/main/java/kafka/server/builders/KafkaApisBuilder.java:
##########
@@ -179,7 +179,7 @@ public KafkaApis build() {
if (metrics == null) throw new RuntimeException("You must set
metrics");
if (quotas == null) throw new RuntimeException("You must set quotas");
if (fetchManager == null) throw new RuntimeException("You must set
fetchManager");
- if (brokerTopicStats == null) brokerTopicStats = new
BrokerTopicStats(Optional.of(config));
+ if (brokerTopicStats == null) brokerTopicStats = new
BrokerTopicStats(config.remoteLogManagerConfig().enableRemoteStorageSystem());
Review Comment:
I created https://issues.apache.org/jira/browse/KAFKA-16859 to do the
cleanup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]