mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00

* Add JSON Writer tests Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Add Posgres Reader JSON tests Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Add ID comment Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Add MongoDB Reader tests for JSON Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Rename test message Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Add tests for InfluxDB JSON messages Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Use test file for constants block Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Rename MongoDB imports Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Add Cassandra reader JSON tests Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Simplify test payload Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com> * Handle wrong format uniformly across Readers Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Consumers
Consumers provide an abstraction of various Mainflux consumers
.
Mainflux consumer is a generic service that can handle received messages - consume them.
The message is not necessarily a Mainflux message - before consuming, Mainflux message can
be transformed into any valid format that specific consumer can understand. For example,
writers are consumers that can take a SenML or JSON message and store it.
Consumers are optional services and are treated as plugins. In order to run consumer services, core services must be up and running.
For an in-depth explanation of the usage of consumers
, as well as thorough
understanding of Mainflux, please check out the official documentation.