原书出处
Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)
03 Communication and Data Contracts
One common anti-pattern is adding a type field to an event definition, where different type values indicate specific subfeatures of the event. This is generally done for data that is “similar yet different” and is often a result of the implementer incorrectly identifying the events as single-purpose. Though it may seem like a time-saving measure or a simplification of a data access pattern, overloading events with type parameters is rarely
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch03.xhtml
EPUB SHA-256:2f625067377fb98cec5ecdbfe31111c33111bcdcaf609e1d4637835a53b1b4b0