zhanghongwang

Results comments of zhanghongwang

注释 `#canal.mq.partitionsNum = 3` 出现这个如下错误 `2021-03-22 16:44:36.285 [pool-93-thread-1] ERROR c.a.o.c.c.rocketmq.producer.CanalRocketMQProducer - null java.lang.NullPointerException: null`

感谢 已经可以了 是一个莫名奇妙的问题 无法复现

移除LettuceClientConfiguration 配置执行成功,但是为什么加上LettuceClientConfiguration 会报错呢 ``` @Bean public LettuceConnectionFactory lettuceConnectionFactory() { RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration(redisProperties.getCluster().getNodes()); redisClusterConfiguration.setMaxRedirects(3); //支持自适应集群拓扑刷新和静态刷新源 ClusterTopologyRefreshOptions clusterTopologyRefreshOptions = ClusterTopologyRefreshOptions.builder() .enablePeriodicRefresh() .enableAllAdaptiveRefreshTriggers() .refreshPeriod(Duration.ofSeconds(5)) .build(); ClusterClientOptions clusterClientOptions = ClusterClientOptions.builder() .topologyRefreshOptions(clusterTopologyRefreshOptions).build(); return...

完整错误堆栈 ··· org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR Error running script (call to f_1028a5dba704e1d8a01fd96efeba25bb78f62df2): @user_script:4: @user_script: 4: -READONLY You can't write against a read only replica. at...