The data-collection system consists of a Scheduler component, a Data store component, and the Service component. We have already discussed the design of Scheduler as well as the Data Store. Next, let's have a detailed look at how the design of the service that does the functional work for collecting the data looks.
The following figure depicts the components we will be designing for the actual Micro Service:
Let's briefly discuss each component of the Service:
- *API: The API component is responsible for exposing a REST-based API for the Scheduler to call whenever a Task needs to be executed.
- *Service: The API delegates ...