FrankChen021 / bithon

An observability platform mainly for Java
Apache License 2.0
15 stars 4 forks source link

Simplify Lettuce interception model #116

Open FrankChen021 opened 2 years ago

FrankChen021 commented 2 years ago

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.

FrankChen021 commented 2 years ago

Low priority