Overview

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;

Ingestion

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.

Broadcasting

As a result of ingestion phase, MDCA saves endpoint data samples in MongoDB, see MongoDB configuration.

Interfaces

MDCA supports a number of interfaces to perform its functional role. The key supported interfaces are summarized in the following diagram.

MDCA interfaces diagram

For inter-service communication, Kaa services mainly use REST APIs and messaging protocols that run over NATS messaging system.

Data sample transmission

MDCA supports 13/DSTP and acts as a data sample receiver service by subscribing to data transmitters. See the configuration page for information on how to configure this interface.