Messages in and messages out for a microservice

The second perspective for designing one microservice is its interface. Ignoring for a moment the implementation details of the API, we will look at a higher level at the messages the microservice receives and returns. Let’s dive into:

  • what is a message
  • how to define a message
  • having a dialog between microservices
  • message versioning