Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Allow to publish data as float, int, uint #22

Open
IzabellaRaulin opened this issue Jul 15, 2016 · 0 comments
Open

Allow to publish data as float, int, uint #22

IzabellaRaulin opened this issue Jul 15, 2016 · 0 comments

Comments

@IzabellaRaulin
Copy link
Contributor

Support of publishing data as a string (default) but also as a float, int or uint (configurable in task manifest) because of processing this data after they are stored in postgresql db (or even display them as a graph).

If user set in task manifest that data will be published as an uint, but incoming data cannot be parsed to this type, warning or error will occures

  • when incoming data cannot be converted to expected format, returns error
  • when incoming data could be converted to expected format but part of data will be lost, logs about it

Publish data as a string should be default because it a) works for all incoming data types, b) maintains current behavior.

Feel free to comment this proposition.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants