Skip to content

go-queue for incoming events #267

@bzz

Description

@bzz

Queue implementation https://github.com/src-d/go-queue should be used for decoupling review creating and it's processing inside the lookout.

Default configuration should work as is, without extra configuration so lookoutd serve runs using in-memory implementation. Other environments will use RabbitMQ.

Deployment envs would use something like Borges does

  • lookoutd enqueue responsible only for interacting \w Github and putting new Review events in queue
  • lookout dequeue process events from the queue sequentially, transactionally updating DB with event state, posting results back, etc

Most probably, should include few queues:

  • queue for new events
  • queue for re-processing failures

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions