Skip to content

Commit d7948a3

Browse files
committed
Added simple readme and changelog for error queue cleanup script.
1 parent c42a15e commit d7948a3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## Unreleased
8+
9+
### Added
10+
- Error queue cleanup script
11+
712
## 1.10.1 - 2020-07-16
813

914
### Fixed

scripts/rmq-error-shovel/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Error queue cleanup up script
2+
=============================
3+
4+
Script to remove files from an error queue if a message refers to a file that doesn't exist anymore. Otherwise moves the
5+
message to the appropriate queue for reprocessing.
6+
7+
This should be executed when needed and not on a timer in case there are other types of error that would result in an
8+
endless loop of messages going from execution queue to error queue and back to execution queue.
9+
10+
To build the container run `docker build -t clowder/rmq-error-shovel .`
11+
12+
To run the container on the a specific queue, for example `ncsa.image.preview` run this command (use your api key and
13+
change other parameters as needed):
14+
15+
```
16+
docker run -t --rm --net=host -e EXTRACTOR_QUEUE=ncsa.image.preview -e CLOWDER_HOST=http://host.docker.internal:9000
17+
-e CLOWDER_KEY=your_api_key -e RABBITMQ_URI="amqp://guest:[email protected]:5672/%2f"
18+
clowder/rmq-error-shovel
19+
```

0 commit comments

Comments
 (0)