kamalcph commented on code in PR #16353: URL: https://github.com/apache/kafka/pull/16353#discussion_r1642770431
########## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ########## @@ -412,7 +418,7 @@ public void onLeadershipChange(Set<Partition> partitionsBecomeLeader, Map<String, Uuid> topicIds) { LOGGER.debug("Received leadership changes for leaders: {} and followers: {}", partitionsBecomeLeader, partitionsBecomeFollower); - if (this.rlmConfig.isRemoteStorageSystemEnabled() && !isRemoteLogManagerConfigured()) { + if (config.remoteLogManagerConfig().isRemoteStorageSystemEnabled() && !isRemoteLogManagerConfigured()) { Review Comment: Can we take this refactoring as part of KAFKA-16976 ticket? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org