Mainflux.mainflux/writers
Dušan Borovčanin 8be2516321 MF-780 - Use Normalizer as a lib (#915)
* Use Normalizer as a lib

To normalize messages on the consumer side, Normalizer is moved
to the internal pkgs. Writers being message consumers are modified to
do message normalization instead of subscribing to normalized messages
subject.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Fix logging middleware for readers and writers

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Remove normalizer interface

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Use Normalizer in writers

As we agreed on #919, we'll use normalizer as an interface and provide
the default SenML implementation. Because of that, Normalizer is removed
from `internal` and we'll use the project structure proposed in the
aforementioned issue.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Fix tests

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Remove unused batch settings from influxDB reader

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Update docs

Move Normalizer service to `addons`.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Rename channels input topic

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Update Noramlizer docs

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Remove commented code

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Update readers logging

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Update addons docker-compose files

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>

* Update topcis explanations

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-31 14:04:47 +01:00
..
api MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
cassandra MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
influxdb MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
mongodb MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
postgres MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
README.md MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
docs.go MF-788 - Remove date and minimize copyright comments (#876) 2019-10-07 16:14:47 +02:00
messages.go MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00
writer.go MF-780 - Use Normalizer as a lib (#915) 2019-10-31 14:04:47 +01:00

README.md

Writers

Writers provide an implementation of various message writers. Message writers are services that normalize (in SenML format) Mainflux messages and store them in specific data store.

Writers are optional services and are treated as plugins. In order to run writer services, core services must be up and running. For more info on the platform core services with its dependencies, please check out the Docker Compose file.

For an in-depth explanation of the usage of writers, as well as thorough understanding of Mainflux, please check out the official documentation.