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

GitHub | isaacdong | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 11 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