Mainflux.mainflux/readers
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
mocks MF-785 - Change CanAccess to CanAccessByKey (#894) 2019-10-21 23:24:45 +02: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-313 - Implement basic Cassandra reader (#331) 2018-08-06 17:06:55 +02:00
messages.go MF-788 - Remove date and minimize copyright comments (#876) 2019-10-07 16:14:47 +02:00
swagger.yml MF-525 - Add pagination response to the readers (#729) 2019-04-25 00:18:43 +02:00

README.md

Readers

Readers provide an implementation of various message readers. Message readers are services that consume normalized (in SenML format) Mainflux messages from data storage and opens HTTP API for message consumption.

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