yaooqinn commented on a change in pull request #1358:
URL: https://github.com/apache/incubator-kyuubi/pull/1358#discussion_r746365157
##########
File path:
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala
##########
@@ -499,6 +501,67 @@ object KyuubiConf {
.checkValue(p => p == 0 || (p > 1024 && p < 65535), "Invalid Port number")
.createWithDefault(10099)
+ val FRONTEND_MYSQL_BIND_HOST: OptionalConfigEntry[String] =
buildConf("frontend.mysql.bind.host")
+ .doc("Hostname or IP of the machine on which to run the MySQL frontend
service.")
+ .version("1.4.0")
+ .stringConf
+ .createOptional
+
+ val FRONTEND_MYSQL_BIND_PORT: ConfigEntry[Int] =
buildConf("frontend.mysql.bind.port")
+ .doc("Port of the machine on which to run the MySQL frontend service.")
+ .version("1.4.0")
+ .intConf
+ .checkValue(p => p == 0 || (p > 1024 && p < 65535), "Invalid Port number")
+ .createWithDefault(3309)
+
+ val FRONTEND_MYSQL_NETTY_BOSS_THREADS: ConfigEntry[Int] =
+ buildConf("frontend.mysql.netty.boss.threads")
+ .doc("Thread number in the netty boss event loop of MySQL frontend
service")
+ .version("1.4.0")
+ .intConf
+ .checkValue(n => n > 0 && n <= 64,
+ "Invalid thread number, must in (0, 64]")
Review comment:
why (0, 64]?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]