You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ subgraph ingest[Ingest]
90
90
ingestSnsTopic[Ingest SNS Topic]
91
91
ingestQueue[Ingest SQS Queue]
92
92
ingestLambda[Ingest Lambda]
93
+
postIngestSnsTopic[Post-Ingest SNS Topic]
93
94
94
95
ingestDeadLetterQueue[Ingest Dead Letter Queue]
95
96
end
@@ -108,7 +109,9 @@ opensearch[(OpenSearch)]
108
109
itemsForIngest --> ingestSnsTopic
109
110
ingestSnsTopic --> ingestQueue
110
111
ingestQueue --> ingestLambda
112
+
ingestQueue --> ingestDeadLetterQueue
111
113
ingestLambda --> opensearch
114
+
ingestLambda --> postIngestSnsTopic
112
115
113
116
114
117
%% API workflow
@@ -914,6 +917,17 @@ ingestion will either fail (in the case of a single Item ingest) or if auto-crea
914
917
915
918
If a collection or item is ingested, and an item with that id already exists in STAC, the new item will completely replace the old item.
916
919
920
+
After a collection or item is ingested, the status of the ingest (success or failure) along with details of the collection or item are sent to a post-ingest SNS topic. To take action on items after they are ingested subscribe an endpoint to this topic.
921
+
922
+
Messages published to the post-ingest SNS topic include the following atributes that can be used for filtering:
| ingestStatus | String | `successful` or `failed` |
928
+
| collection | String | |
929
+
930
+
917
931
### Ingesting large items
918
932
919
933
There is a 256 KB limit on the size of SQS messages. Larger items can by publishing a message to the `stac-server-<stage>-ingest` SNS topic in with the format:
0 commit comments