frankvicky commented on code in PR #20089:
URL: https://github.com/apache/kafka/pull/20089#discussion_r2187224213


##########
core/src/main/scala/kafka/server/BrokerServer.scala:
##########
@@ -640,7 +642,8 @@ class BrokerServer(
     val serde = new ShareCoordinatorRecordSerde
     val loader = new CoordinatorLoaderImpl[CoordinatorRecord](
       time,
-      replicaManager,
+      tp => toJava(replicaManager.getLog(tp)),

Review Comment:
   ```suggestion
         tp => replicaManager.getLog(tp).toJava,
   ```



##########
core/src/main/scala/kafka/server/BrokerServer.scala:
##########
@@ -610,7 +611,8 @@ class BrokerServer(
     )
     val loader = new CoordinatorLoaderImpl[CoordinatorRecord](
       time,
-      replicaManager,
+      tp => toJava(replicaManager.getLog(tp)),

Review Comment:
   ```suggestion
         tp => replicaManager.getLog(tp).toJava,
   ```



-- 
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

Reply via email to