lightzhao commented on code in PR #4975:
URL: https://github.com/apache/seatunnel/pull/4975#discussion_r1244625471
##########
seatunnel-connectors-v2/connector-redis/src/main/java/org/apache/seatunnel/connectors/seatunnel/redis/config/RedisParameters.java:
##########
@@ -89,6 +90,9 @@ public void buildWithConfig(Config config) {
if (config.hasPath(RedisConfig.KEY_PATTERN.key())) {
this.keysPattern = config.getString(RedisConfig.KEY_PATTERN.key());
}
+ if (config.hasPath(RedisConfig.EXPIRE.key())) {
+ this.expire = config.getLong(RedisConfig.EXPIRE.key());
Review Comment:
Default values have been added. In Redis, the default value of the EXPIRE
command is -1, and keys are not automatically expired by default.
--
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]