Hi All,
Sorry if this is something very basic but I’m new to DV 2.0 and would like to understand modelling approach for my use case.
We need to ingest order event data into DV layer. The order has multiple events and each event type has a different structure. The data is published by kafka and each are JSON messaged.
For an example consider below events
- Order Created - Order ID, Customer ID, Timestamp, Items, Total Amount, Shipping Address, etc.
- Order Payment Received - Order ID, Payment Method, Amount, Timestamp, etc
- Order Fulfilment Stated - Order ID, Location ID, Handling user, Timestamp, etc.
- Order Fulfilment Finished - Order ID, Location ID, Handling user, Timestamp, etc.
Between 3 & 4 there could be another 70-80 odd events.
Question:
-
Would you create a single LINK table storing all these events associated with an order
-
Would you create a LINK table for each event - possibly 80+ storing relevant event data