Mainflux.mainflux/pkg/transformers
Sammy Kerata Oina 7758f42f6b
NOISSUE - Improve graceful shutdown and code quality (#1821)
* remove single case switch
remove duplicate cases

Signed-off-by: SammyOina <sammyoina@gmail.com>

* remove single case switch \n format comments

Signed-off-by: SammyOina <sammyoina@gmail.com>

* graceful exit on main func

Signed-off-by: SammyOina <sammyoina@gmail.com>

* remove fatal from imported packages

Signed-off-by: SammyOina <sammyoina@gmail.com>

* reuse exit function

Signed-off-by: SammyOina <sammyoina@gmail.com>

* return nill for empty configs

Signed-off-by: SammyOina <sammyoina@gmail.com>

* return nil for config file not found

Signed-off-by: SammyOina <sammyoina@gmail.com>

---------

Signed-off-by: SammyOina <sammyoina@gmail.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2023-07-28 03:01:27 +02:00
..
json NOISSUE - Improve graceful shutdown and code quality (#1821) 2023-07-28 03:01:27 +02:00
senml MF-1506 - Group-based Access Control (#1716) 2023-06-14 12:40:37 +02:00
README.md Add READMEs to pkg packages (#1352) 2021-02-04 20:04:41 +01:00
doc.go MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
transformer.go MF-1455 - Update Versions of Protobuf (#1704) 2023-02-02 18:28:32 +01:00

README.md

Message Transformers

A transformer service consumes events published by Mainflux adapters (such as MQTT and HTTP adapters) and transforms them to an arbitrary message format. A transformer can be imported as a standalone package and used for message transformation on the consumer side.

Mainflux SenML transformer is an example of Transformer service for SenML messages.

Mainflux writers are using a standalone SenML transformer to preprocess messages before storing them.