snowplow / enrich

Snowplow Enrichment jobs and library
https://snowplowanalytics.com
Other
21 stars 39 forks source link

Common: for discussion: turn ecommerce transactions into one event #228

Open chuwy opened 4 years ago

chuwy commented 4 years ago

Currently, tracking an ecommerce transaction is transmitted, ETLed and stored as multiple events:

In an Avro world, it might be cleaner just to send one event, which is a fatter envelope containing the transaction plus transaction items.

This would be dependent on:

  1. Using Avro
  2. The hub-and-spoke architecture in Redshift (events -> transactions -> transaction_items)
  3. Add support for sending event as multiple GETs #20
  4. Coming up with a way of expressing N transaction items within the tracker protocol (maybe moving to a full-JSON envelope)
chuwy commented 4 years ago

Migrated from https://github.com/snowplow/snowplow/issues/203 (comments are auto-generated)