Service implementation
This is the core of microservices, where the business logic is implemented. This could be implemented in any applicable language, such as Java, Scala, Conjure, Erlang, and so on. All required business logic to fulfill the function will be embedded within the microservice itself. Just like with normal application designs, a general modular, layered architecture is recommended for service implementations. This service implementation will provide concrete service endpoint interfaces.
As a best practice, microservice implementations may send out state changes to the external world without really worrying about the targeted consumers of these events. They could be consumed by other microservices, supporting services such ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access