Open FrankChen021 opened 2 years ago
Current implementation intercepts connectXXX method on RedisClient and DefaultConnectionFuture to pass the endpoint info.
DefaultConnectionFuture
From the lettuce code, we could only need to intercept internal method connectStatefulAsync and store the endpoint based on the 3rd input parameter.
connectStatefulAsync
This would simply current interception model which is hard to understand.
Low priority
Current implementation intercepts connectXXX method on RedisClient and
DefaultConnectionFuture
to pass the endpoint info.From the lettuce code, we could only need to intercept internal method
connectStatefulAsync
and store the endpoint based on the 3rd input parameter.This would simply current interception model which is hard to understand.