Example: serving layer
Let us see an example of serving layer with data devices in action, as we have discussed in this chapter. Data Services are expected to deliver the data from data repositories of the serving layer. Such repositories should support fast and random access of data; Elasticsearch could be one such repository.
Let us build data services over and above the data that we have ingested into Elasticsearch server in the previous chapter, wherein we had ingested customer, address and contact data. For this example, we will build a Spring Boot based JAX-RS 2.0 REST data services with Swagger UI that would provide the service definitions.
This example has been covered in the project named chapter11 in the source repository and ...
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