What You’ve Done So Far

Good work! User identity is one of the most common and fundamental aspects of any system, and even though you’re building this one with a very different architecture than what you’re likely used to, that hasn’t stopped you from getting users into your system. Hopefully a couple of things stand out here. The first is that there are portions of an asynchronous, event-based system that feel very familiar. Those parts are likely going to all be around reading data. It really isn’t any different. The second flows from the first—do you see how the idea of an “auth service” is a bit of a misnomer? Authentication is simple a query against View Data. Repeat the mantra “we don’t read data out of Components.”

Earlier we showed an ...

Get Practical Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.