mumrah commented on code in PR #12050:
URL: https://github.com/apache/kafka/pull/12050#discussion_r871388241


##########
core/src/main/scala/kafka/raft/RaftManager.scala:
##########
@@ -108,7 +108,8 @@ class KafkaRaftManager[T](
   time: Time,
   metrics: Metrics,
   threadNamePrefixOpt: Option[String],
-  val controllerQuorumVotersFuture: CompletableFuture[util.Map[Integer, 
AddressSpec]]
+  val controllerQuorumVotersFuture: CompletableFuture[util.Map[Integer, 
AddressSpec]],
+  apiVersions: ApiVersions

Review Comment:
   This was done in order to expose the ApiVersions to QuorumFeatures. 
ApiVersions gets populated with NodeApiVersions which includes supported APIs 
and supported features. This lets us check if the quorum supports a given 
feature flag and feature version.



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