Muxin
Muxin
I had follow the markdown How to build project.
I suddenly understand how to do it. I just need to implement my customized indirectmatch and implement the methods in it. My idea is that skywalking only enhances the @...
Because people have to work during the day, and my program can only work hard at night, to avoid people. And the changeLimitForPeriod don't enough to adjust my speed. And...
```java RateLimiter night = RateLimiter.of("night", RateLimiterConfig.custom() .limitRefreshPeriod(Duration.ofSeconds( 1)) .limitForPeriod(5) .timeoutDuration(Duration.ofMinutes( 1)) .build()); RateLimiter day = RateLimiter.of("day", RateLimiterConfig.custom() .limitRefreshPeriod(Duration.ofSeconds( 2)) .limitForPeriod(3) .timeoutDuration(Duration.ofMinutes( 1)) .build()); ```
I was used like this ``` RateLimiter day = ... RateLimiter night = ... Flux.just(response) .transformDeferred(RateLimiterOperator.of(day || night))); ``` How to change instance entirely.
Thanks a lot! But I still think this method should be added!
建议你还是升级dubbo吧,因为在2.6.1版本中,创建KryoObjectInput这个的Kryo对象会把SerializableClassRegistry里的registrations里采用的是Set集合来缓存类,全都注册进Kryo对象中,所以导致在DefaultClassResolver里的idToRegistration无法和客户端idToRegistration无法对齐。 在2.6.3里采用registrations用了Map来缓存类 了。
@llx206 能否给个github 的demo我本地运行下。
默认采用的是Hessian 序列化,所以需要在 Test 里加默认构造函数。同理也需要在Page里加默认构造函数。