You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied that code with lettuce 4 and 5 but AsyncPool, AsyncConnectionPoolSupport, BoundedPoolConfig are nowhere to be found. The closest thing I found was io.lettuce.core.support.ConnectionPoolSupport but its methods are very different from the docs.
Only synchronous connection pooling has a dependency on commons-pool2 according to the docs.
Which is it?
The text was updated successfully, but these errors were encountered:
The mentioned documentation reference originates from snapshot builds which built from version 5.1.0 (branch 5.x). 5.1.0 is not yet released therefore you can't find non-blocking pooling in 5.0.2.RELEASE. Non-blocking pooling was implemented with #631 for the 5.x line only as Lettuce 4.x does not provide asynchronous connect methods.
ConnectionPoolSupport is the blocking pooling implementation based on commons-pool2.
Official documentation says there are no dependency required to implement async connection pooling with lettuce.
I copied that code with lettuce 4 and 5 but AsyncPool, AsyncConnectionPoolSupport, BoundedPoolConfig are nowhere to be found. The closest thing I found was
io.lettuce.core.support.ConnectionPoolSupport
but its methods are very different from the docs.Only synchronous connection pooling has a dependency on commons-pool2 according to the docs.
Which is it?
The text was updated successfully, but these errors were encountered: