@Dulitha and @ Sachith
I see both your comments ends with the same question whether we need to
have event stream definition for each sensor type or do we need to maintain
a separate event stream for each sensor type on a device type ?.

eg:  stream definition:
Use Case 1 : org.wso2.devices.temperature (within payload send the device
type and device Id)
Use Case 2 :
org.wso2.devices.firealarm.temperature, org.wso2.devices.mobile.temperature

This depends on the use case we think about and I see both scenarios can be
a valid argument. The question is to know whether we need to know the
sensor analysis within a device type or across device types. To cater both
scenario thought to have a sensor management as a separate module.

This is just a thought process to bring up the concern of the problem. This
needs to be further discussed with the team.
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to