jsancio commented on code in PR #16058:
URL: https://github.com/apache/kafka/pull/16058#discussion_r1625041690


##########
core/src/main/scala/kafka/raft/RaftManager.scala:
##########
@@ -318,4 +329,28 @@ class KafkaRaftManager[T](
   override def voterNode(id: Int, listener: String): Option[Node] = {
     client.voterNode(id, listener).toScala
   }
+
+  def verifyCommonFields(
+    providedClusterId: String,
+  ): Unit = {
+    if (!providedClusterId.equals(clusterId)) {
+      throw new InconsistentClusterIdException("Provided cluster ID " + 
providedClusterId +

Review Comment:
   > Hmm, your URL doesn't work for me.
   
   This is the URL/code I was trying to send: 
https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/ControllerApis.scala#L147-L151



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