By using DCS Redis instances, Spring Session can implement session sharing. When interconnecting with Spring Cloud, the following error information is displayed:
For security purposes, DCS does not support the CONFIG command initiated by a client. You need to perform the following steps:
static-field="org.springframework.session.data.redis.config.ConfigureRedisAction.NO_OP"/>
@Bean
public static ConfigureRedisAction configureRedisAction() {
return ConfigureRedisAction.NO_OP;
}
For more information, see the Spring Session Documentation.
Session sharing is supported only by single-node and master/standby DCS Redis instances, but not by cluster DCS Redis instances.