Skip to content

Commit 99323c1

Browse files
Add diagram and description to fruits pipeline worker readme
1 parent a69c7ce commit 99323c1

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

examples/fruits-pipeline-worker/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
A fruit picking worker process that talks to AWS services.
44

5+
### Steps:
6+
7+
1. The worker polls an SQS queue for messages which contain the location of the fruit trees (S3).
8+
2. The worker then loads the data for the fruit trees from S3 and harvests the fruit (i.e. runs some logic).
9+
3. The harvests are then saved in an S3 bucket.
10+
4. The worker publishes an SNS message which can then be picked up by external servives.
11+
12+
![fruits-worker](./images/fruits-worker.png)
13+
14+
## Run it locally
15+
516
Add the env vars to your shell:
617

718
```
204 KB
Loading

0 commit comments

Comments
 (0)