abelaska / jedis-lock

Jedis distributed lock support
203 stars 118 forks source link

Working with spring-data-redis #12

Open ramchris opened 6 years ago

ramchris commented 6 years ago

Hi there, I tried to use this locking feature along with Jedis and Spring-data-redis and ran into the following issue described in the below stackoverflow issue.

https://stackoverflow.com/questions/47763245/cannot-get-jedis-connection-could-not-get-a-resource-from-the-pool

I believe it is caused when I try to create a separate instance of Jedis to lock instead of one created in the pool by spring-data-redis.

ramchris commented 6 years ago

Did anyone successfully integrated this Jedis-lock with spring-data-redis and Jedis?