Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 551 Bytes

File metadata and controls

21 lines (18 loc) · 551 Bytes

No such extension org.apache.dubbo.rpc.cluster.LoadBalance by name random

报错代码

public  CompletableFuture<Long> processAsync(){
    return redisCacheService.getDistibutedLockAsync().thenComposeAsync(lock ->{
        return idService.getIdAsync();
    });
}

跟这个issue是一样的Dubbo-5829

暂时改成

public  CompletableFuture<Long> processAsync(){
    return redisCacheService.getDistibutedLockAsync().thenCompos(lock ->{
        return idService.getIdAsync();
    });
}