cxzl25 commented on code in PR #5662:
URL: https://github.com/apache/kyuubi/pull/5662#discussion_r1538872610
##########
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala:
##########
@@ -2223,13 +2223,30 @@ object KyuubiConf {
"a session. <ul>" +
"<li>RANDOM - Randomly use the engine in the pool</li>" +
"<li>POLLING - Polling use the engine in the pool</li>" +
+ "<li>ADAPTIVE - ADAPTIVE use the engine in the pool</li>" +
"</ul>")
.version("1.7.0")
.stringConf
.transformToUpperCase
- .checkValues(Set("RANDOM", "POLLING"))
+ .checkValues(Set("RANDOM", "POLLING", "ADAPTIVE"))
.createWithDefault("RANDOM")
+ val ENGINE_POOL_ADAPTIVE_SESSION_THRESHOLD: ConfigEntry[Int] =
+ buildConf("kyuubi.engine.pool.adaptive.session.threshold")
+ .doc("The threshold of a engine open session count for adaptive engine
pool select policy.")
+ .version("1.9.0")
Review Comment:
```suggestion
.version("1.10.0")
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]