{"action":"created","issue":{"url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/5","labels_url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/5/comments","events_url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/5/events","html_url":"https://github.com/jlinn/quartz-redis-jobstore/issues/5","id":100924894,"number":5,"title":"Redis 3 Clustering Support?","user":{"login":"pluttrell","id":4094051,"avatar_url":"https://avatars.githubusercontent.com/u/4094051?v=3","gravatar_id":"","url":"https://api.github.com/users/pluttrell","html_url":"https://github.com/pluttrell","followers_url":"https://api.github.com/users/pluttrell/followers","following_url":"https://api.github.com/users/pluttrell/following{/other_user}","gists_url":"https://api.github.com/users/pluttrell/gists{/gist_id}","starred_url":"https://api.github.com/users/pluttrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluttrell/subscriptions","organizations_url":"https://api.github.com/users/pluttrell/orgs","repos_url":"https://api.github.com/users/pluttrell/repos","events_url":"https://api.github.com/users/pluttrell/events{/privacy}","received_events_url":"https://api.github.com/users/pluttrell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T03:34:13Z","updated_at":"2015-08-14T04:24:19Z","closed_at":null,"body":"I just tested this jobstore connecting to a Redis 3.x cluster and it doesn't work. I get a series of `redis.clients.jedis.exceptions.JedisMovedDataException: MOVED 13673 {new-hosts-ip}:{port}` exceptions, which I believe is Redis's way to communicate back to the driver that the data it's looking for is found on another master.\r\n\r\nIn looking at the source, a `JedisPool` is used and you'd need to use a `JedisCluster` instance instead to support clustering. Do you have any plans to add support for this?\r\n\r\nAlso it'd actually be really nice if there were a way I could supply my on instance of `JedisCluster`, instead of maintaining duplicate configuration, as I already use Jedis in our system and I'd really like to avoid a second connection pool to Redis.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/comments/130960900","html_url":"https://github.com/jlinn/quartz-redis-jobstore/issues/5#issuecomment-130960900","issue_url":"https://api.github.com/repos/jlinn/quartz-redis-jobstore/issues/5","id":130960900,"user":{"login":"jlinn","id":4562038,"avatar_url":"https://avatars.githubusercontent.com/u/4562038?v=3","gravatar_id":"","url":"https://api.github.com/users/jlinn","html_url":"https://github.com/jlinn","followers_url":"https://api.github.com/users/jlinn/followers","following_url":"https://api.github.com/users/jlinn/following{/other_user}","gists_url":"https://api.github.com/users/jlinn/gists{/gist_id}","starred_url":"https://api.github.com/users/jlinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlinn/subscriptions","organizations_url":"https://api.github.com/users/jlinn/orgs","repos_url":"https://api.github.com/users/jlinn/repos","events_url":"https://api.github.com/users/jlinn/events{/privacy}","received_events_url":"https://api.github.com/users/jlinn/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T04:24:19Z","updated_at":"2015-08-14T04:24:19Z","body":"Cluster support and the ability to provide your own `Pool<Jedis>` instance are good ideas.  I'm going to be pretty busy this weekend, but I'll look into adding them shortly thereafter.  It shouldn't take long.\r\n\r\nAs far as I can tell, you'll have to use the `DirectSchedulerFactory` rather than the `StdSchedulerFactory` if you want to provide a pre-instantiated `JobStore`, but that should work fine as long as you don't mind the more manual setup."}}