edgexfoundry / export-go

Apache License 2.0
5 stars 8 forks source link

Validate event/reading value descriptors in export-distro #19

Open chenchix opened 6 years ago

chenchix commented 6 years ago

Fede and I were thinking about this feature and why it is in export distro instead of core-data, which is the entity that sends the messages.

In our understanding, core-data should send only valid messages and export only take care of filter, discard...

What do you think?

feclare commented 6 years ago

We have been looking at this and we would like to propose to implement it in data. We can check if the values are correct depending on their value descriptor and drop them without storing.

Some questions:

Any feedback @jpwhitemn ?