jolshan commented on code in PR #13112:
URL: https://github.com/apache/kafka/pull/13112#discussion_r1081688123


##########
core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala:
##########
@@ -557,25 +557,25 @@ private[group] class GroupCoordinatorAdapter(
   }
 
   override def onElection(
-    partitionIndex: Int,
-    partitionLeaderEpoch: Int
+    consumerOffsetsPartitionIndex: Int,
+    consumerOffsetsPartitionLeaderEpoch: Int
   ): Unit = {
-    coordinator.onElection(partitionIndex, partitionLeaderEpoch)
+    coordinator.onElection(consumerOffsetsPartitionIndex, 
consumerOffsetsPartitionLeaderEpoch)
   }
 
   override def onResignation(
-    partitionIndex: Int,
-    partitionLeaderEpoch: OptionalInt
+    consumerOffsetsPartitionIndex: Int,
+    consumerOffsetsPartitionLeaderEpoch: OptionalInt
   ): Unit = {
-    coordinator.onResignation(partitionIndex, partitionLeaderEpoch)
+    coordinator.onResignation(consumerOffsetsPartitionIndex, 
consumerOffsetsPartitionLeaderEpoch)
   }
 
-  override def offsetsTopicConfigs(): Properties = {
+  override def consumerOffsetsTopicConfigs(): Properties = {
     coordinator.offsetsTopicConfigs
   }
 
-  override def startup(groupMetadataTopicPartitionCount: IntSupplier): Unit = {
-    coordinator.startup(() => groupMetadataTopicPartitionCount.getAsInt)
+  override def startup(consumerOffsetsPartitionCount: IntSupplier): Unit = {

Review Comment:
   sorry to go back and forth on this one, but I wonder if we call it 
"GROUP_METADATA_TOPIC_NAME" in topics, if we should actually just call it 
groupMetadataTopic here (and above). It's still more specific than "partition" 
in the above cases.



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