quartz-redis-jobstore

A Quartz Scheduler JobStore using Redis.

License

License

Categories

Categories

Redis Data Databases Net Quartz Application Layer Libs Job Scheduling
GroupId

GroupId

net.joelinn
ArtifactId

ArtifactId

quartz-redis-jobstore
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

quartz-redis-jobstore
A Quartz Scheduler JobStore using Redis.
Project URL

Project URL

https://github.com/jlinn/quartz-redis-jobstore
Source Code Management

Source Code Management

http://github.com/jlinn/quartz-redis-jobstore

Download quartz-redis-jobstore

How to add to project

<!-- https://jarcasting.com/artifacts/net.joelinn/quartz-redis-jobstore/ -->
<dependency>
    <groupId>net.joelinn</groupId>
    <artifactId>quartz-redis-jobstore</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.joelinn/quartz-redis-jobstore/
implementation 'net.joelinn:quartz-redis-jobstore:1.2.0'
// https://jarcasting.com/artifacts/net.joelinn/quartz-redis-jobstore/
implementation ("net.joelinn:quartz-redis-jobstore:1.2.0")
'net.joelinn:quartz-redis-jobstore:jar:1.2.0'
<dependency org="net.joelinn" name="quartz-redis-jobstore" rev="1.2.0">
  <artifact name="quartz-redis-jobstore" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.joelinn', module='quartz-redis-jobstore', version='1.2.0')
)
libraryDependencies += "net.joelinn" % "quartz-redis-jobstore" % "1.2.0"
[net.joelinn/quartz-redis-jobstore "1.2.0"]

Dependencies

compile (7)

Group / Artifact Type Version
org.quartz-scheduler : quartz jar 2.2.1
org.quartz-scheduler : quartz-jobs jar 2.2.1
redis.clients : jedis jar 3.3.0
com.fasterxml.jackson.core : jackson-core jar 2.11.1
com.fasterxml.jackson.core : jackson-annotations jar 2.11.1
com.fasterxml.jackson.core : jackson-databind jar 2.11.1
org.slf4j : slf4j-api jar 1.7.7

test (9)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : hamcrest-all jar 1.3
org.mockito : mockito-all jar 1.9.5
com.google.guava : guava-io jar r03
commons-io : commons-io jar 2.4
com.github.kstyrc : embedded-redis jar 0.6
net.jodah : concurrentunit jar 0.4.2
ch.qos.logback : logback-classic jar 1.1.7
ch.qos.logback : logback-core jar 1.1.7

Project Modules

There are no modules declared in this project.

quartz-redis-jobstore

Build Status

A Quartz Scheduler JobStore using Redis.

This project was inspired by redis-quartz, and provides similar functionality with some key differences:

Requirements

  • Java 7 or higher
  • Redis 2.6.12 or higher (3.0 or higher for Redis cluster)

Installation

Maven dependency:

<dependency>
    <groupId>net.joelinn</groupId>
    <artifactId>quartz-redis-jobstore</artifactId>
    <version>1.2.0</version>
</dependency>

Configuration

The following properties may be set in your quartz.properties file:

# set the scheduler's JobStore class (required)
org.quartz.jobStore.class = net.joelinn.quartz.jobstore.RedisJobStore

# set the Redis host (required)
org.quartz.jobStore.host = <your redis host or a comma-delimited list of host:port if clustered use is desired>

# set the scheduler's trigger misfire threshold in milliseconds (optional, defaults to 60000)
org.quartz.jobStore.misfireThreshold = 60000

# set the redis password (optional, defaults null)
org.quartz.jobStore.password = <your redis password>

# set the redis port (optional, defaults to 6379)
org.quartz.jobStore.port = <your redis port>

# enable Redis clustering (optional, defaults to false)
org.quartz.jobStore.redisCluster = <true or false> 

# enable Redis sentinel (optional, defaults to false)
org.quartz.jobStore.redisSentinel = <true or false>

# set the sentinel master group name (required if redisSentinel = true)
org.quartz.jobStore.masterGroupName = <your master group name>

# set the redis database (optional, defaults to 0)
org.quartz.jobStore.database: <your redis db>

# set the Redis key prefix for all JobStore Redis keys (optional, defaults to none)
org.quartz.jobStore.keyPrefix = a_prefix_

# set the Redis lock timeout in milliseconds (optional, defaults to 30000)
org.quartz.jobStore.lockTimeout = 30000

# enable SSL (defaults to false)
org.quartz.jobStore.ssl = <true or false>

Limitations

All GroupMatcher comparators have been implemented. Aside from that, the same limitations outlined in redis-quartz's readme apply.

Versions

Version
1.2.0
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0