December 2022
Intermediate to advanced
189 pages
5h
English
The event materializer is responsible for maintaining a stateful view model that will be used to satisfy GraphQL queries and subscriptions. In this chapter, I discuss how this component consumes from our system’s event log and can also consume event streams from collaborating systems. I will also describe how this method of view maintenance allows for a straightforward implementation of GraphQL subscriptions. I will discuss how the event materializer can fail and how to test it to minimize those occurrences. ...