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
Is your feature request related to a problem? Please describe.
When using ff4j-store-redis with spring boot 3, we have to downgrade the version of jedis due to incompatibilities with jedis 4. The issue is FF4J is using Jedis.expire(String, int), but since Jedis 3 that method has been deprecated and in Jedis 4 it was removed.
The error I get is very clear.
Caused by: java.lang.NoSuchMethodError: 'java.lang.Long redis.clients.jedis.Jedis.expire(java.lang.String, int)'
at org.ff4j.cache.FF4jCacheManagerRedis.putFeature(FF4jCacheManagerRedis.java:199)
at org.ff4j.cache.FF4jCacheProxy.create(FF4jCacheProxy.java:154)
Describe the solution you'd like
I would like ff4j-store-redis to change this method to returning a long so it is compatible with Jedis 4. Obviously would be a good idea to change the setter and the property as well.
Describe alternatives you've considered
Locking my applications to jedis 3.X
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When using
ff4j-store-redis
with spring boot 3, we have to downgrade the version of jedis due to incompatibilities with jedis 4. The issue is FF4J is usingJedis.expire(String, int)
, but since Jedis 3 that method has been deprecated and in Jedis 4 it was removed.The error I get is very clear.
Describe the solution you'd like
I would like
ff4j-store-redis
to change this method to returning a long so it is compatible with Jedis 4. Obviously would be a good idea to change the setter and the property as well.Describe alternatives you've considered
Locking my applications to jedis 3.X
The text was updated successfully, but these errors were encountered: