Requesting consistent data

With the desire to not create friction for consumers of microservices, developers often come up with strategies to infer data. Do not be afraid to create friction. A microservice, at its endpoint, must receive all the necessary information for the complete execution of the task for which it was created.

Trying to work with microservices using inconsistent or poor data is the same as getting into a taxi and telling the driver to guess where he should take you.

Get Microservice Patterns and Best Practices 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.