Job Scheduling

Overview

Guardlight uses job scheduling to schedule different jobs such as parsing, analysis, etc.

Queue Model

Property
Description

id

Job id.

data

A json field with data for the destination app.

topic

Destination app topic name.

status

The status of the job.

retryCount

The amount the job was retried.

Topic names

A topic name decribes the name where an external app is communicating on via NATS. This can be something like parser.epub or analyzer.result.

Job status

Can be one of the following: queued, inprogress, done, error.

Data

Different json data structure for each app.

See Analyzer Input Contract for more info.

See Parser Input Contract for more info.

Last updated