January 2020
Intermediate to advanced
640 pages
16h 56m
English
When building event-driven systems, a common pattern is to define a top-level message that acts as an envelope for different event payloads. Since new event types may be added (or removed) at any point in time, using a union is simply not going to suffice. Furthermore, the following are from the standpoint of event consumers:
To cater for such cases, we can use the ...