public static RedisModeEnum acquireByName(final String name) {
        return Arrays.stream(RedisModeEnum.values())
                .filter(e -> e.getName().equals(name)).findFirst()
                .orElse(RedisModeEnum.STANDALONE);
    }
Acquire by name data sync enum.

@param name redisModeName
@return RedisModeEnum
shenyu-common/src/main/java/org/apache/shenyu/common/enums/RedisModeEnum.java