Microservices Interview Questions and Answers
Question: What is the role of an API contract in microservices communication?Answer: An API contract defines the expectations and specifications for how microservices communicate with each other. It includes details such as the request and response formats, authentication mechanisms, and error handling.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users:
- What is the role of an API versioning strategy in microservices?
- Explain the term \'Circuit Breaker\' in microservices.