MongoDB Data Collection Adapter service (MDCA) is a Kaa service that receives endpoint data samples and saves them in MongoDB. Each data sample is saved as a separate collection record.
Endpoint data sample is a piece of endpoint-related data of an arbitrary structure.
Data sample is saved along with the next metadata:
serverTimestamp- time of a message arrival to MDCA;
appVersionName- application version name of a device that produced a data sample;
endpointID- endpoint ID of a device that produced a data sample;
MDCA receives endpoint data samples through the data sample transmission interface. For more information on how you can configure the service instance name of the data transmitter, see Data transmitter configuration.
As a result of ingestion phase, MDCA saves endpoint data samples in MongoDB, see MongoDB configuration.
MDCA supports a number of interfaces to perform its functional role. The key supported interfaces are summarized in the following diagram.
For inter-service communication, Kaa services mainly use REST APIs and messaging protocols that run over NATS messaging system.