Closed gobengo closed 2 years ago
"Elastic Provider Events" MVP wants an event CAR file fully indexed into EP: S3 URL, timestamp emitted here.
CAR file fully indexed into EP: S3 URL, timestamp
Semantically, this event can be thought of as "Indexer Complete". This event indicates completion of an indexing process.
We will define an event type named "IndexerComplete" with the following fields:
"IndexerComplete"
string
integer
rfc3339 date-time string
We can parse incoming IndexerComplete events.
We can keep track of metrics about how long the indexing process took.
Context
"Elastic Provider Events" MVP wants an event
CAR file fully indexed into EP: S3 URL, timestamp
emitted here.Semantically, this event can be thought of as "Indexer Complete". This event indicates completion of an indexing process.
Decision
We will define an event type named "IndexerComplete" with the following fields:
"IndexerComplete"
string
- URL from which the indexed CAR file can be fetched. probably an s3 urlinteger
- length of indexed CAR file in bytesrfc3339 date-time string
- date-time at which indexing startedrfc3339 date-time string
- date-time at which indexing endedConsequences
We can parse incoming IndexerComplete events.
We can keep track of metrics about how long the indexing process took.