Skip to content

Create the TrackIt task worker #319

Open
@jgchoppe

Description

The worker will be able to retrieve tasks from the SQS queue and achieve those ones.

Specifications:

  • add a worker flag (--worker=true by example), if the flag is true then run the worker instead of the API
  • check if ES is available
  • listens to the SQS queue to retrieve tasks
  • run the task
  • handle task success (send acknowledge to the queue) or error (send changes on visibility timeout to ~15min to re-run the job later)
  • send logs on cloudwatch groups logs (separated by task by account: ${task_name}/${account_id}

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions