I think you can attach metadata to your attribute about the timestamp that the data should have created. This kind of metadata is also stored in Cygnus in HDFS, as shown in this example:
{
"recvTimeTs":"13453464536",
"recvTime":"2014-02-27T14:46:21Z",
"entityId":"Room1",
"entityType":"Room",
"attrName":"temperature",
"attrType":"centigrade",
"attrValue":"26.5",
"attrMd":[
{
name:CreationTime,
type:timestamp,
value:2014-02-26T12:34:09.672Z
}
]
}
In this case, you have receive time (recvTime) and creation time (metadata).
source
share