xiaofan2022 commented on code in PR #5570:
URL: https://github.com/apache/seatunnel/pull/5570#discussion_r1349481224
##########
seatunnel-connectors-v2/connector-redis/src/main/java/org/apache/seatunnel/connectors/seatunnel/redis/config/RedisParameters.java:
##########
@@ -40,6 +40,7 @@ public class RedisParameters implements Serializable {
private String host;
private int port;
private String auth = "";
+ private Integer dbNum;
Review Comment:
done
##########
seatunnel-connectors-v2/connector-redis/src/main/java/org/apache/seatunnel/connectors/seatunnel/redis/config/RedisParameters.java:
##########
@@ -115,6 +120,9 @@ public Jedis buildJedis() {
if (StringUtils.isNotBlank(user)) {
jedis.aclSetUser(user);
}
+ if (dbNum != null && dbNum > 0) {
+ jedis.select(dbNum);
+ }
Review Comment:
done
--
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]