From 067fc0a9a42e88cc645d391854e9441420d58076 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Thu, 18 Feb 2021 15:43:45 +0800 Subject: [PATCH] HOTFIX: fix build error caused by ControllerApisTest.scala --- core/src/test/scala/unit/kafka/server/ControllerApisTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala b/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala index fc0a38b6cd252..3533fcfdee2cd 100644 --- a/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala +++ b/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala @@ -67,7 +67,7 @@ class ControllerApisTest { private def createControllerApis(authorizer: Option[Authorizer], supportedFeatures: Map[String, VersionRange] = Map.empty): ControllerApis = { val props = new Properties() - props.put(KafkaConfig.NodeIdProp, nodeId) + props.put(KafkaConfig.NodeIdProp, nodeId: java.lang.Integer) props.put(KafkaConfig.ProcessRolesProp, "controller") new ControllerApis( requestChannel,