java.lang.IllegalArgumentException: Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

GitHub | isaacdong | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    monitor的cluster一定是failsafe的,而且无法修改

    GitHub | 8 months ago | isaacdong
    java.lang.IllegalArgumentException: Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

      at com.alibaba.dubbo.registry.redis.RedisRegistry.<init>()
    2. com.alibaba.dubbo
      DubboMonitorFactroy.createMonitor
      1. com.alibaba.dubbo.registry.redis.RedisRegistry.<init>(RedisRegistry.java:93)
      2. com.alibaba.dubbo.registry.redis.RedisRegistryFactory.getRegistry(RedisRegistryFactory.java:30)
      3. com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(RegistryFactory$Adpative.java)
      4. com.alibaba.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:240)
      5. com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:60)
      6. com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:63)
      7. com.alibaba.dubbo.rpc.Protocol$Adpative.refer(Protocol$Adpative.java)
      8. com.alibaba.dubbo.monitor.dubbo.DubboMonitorFactroy.createMonitor(DubboMonitorFactroy.java:60)
      8 frames